Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
767 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2016 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __KIS_BRUSH_HUD_PROPERTIES_LIST_H
#define __KIS_BRUSH_HUD_PROPERTIES_LIST_H

#include <QScopedPointer>
#include <QListWidget>
#include "kis_uniform_paintop_property.h"


class KisBrushHudPropertiesList : public QListWidget
{
public:
    KisBrushHudPropertiesList(QWidget *parent);
    ~KisBrushHudPropertiesList() override;

    void addProperties(const QList<KisUniformPaintOpPropertySP> &properties);
    QList<QString> selectedPropertiesIds() const;

    Qt::DropActions supportedDropActions() const override;

private:
    struct Private;
    const QScopedPointer<Private> m_d;
};

#endif /* __KIS_BRUSH_HUD_PROPERTIES_LIST_H */