File indexing completed on 2024-12-22 04:12:16
0001 /* 0002 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_BRUSH_HUD_PROPERTIES_LIST_H 0008 #define __KIS_BRUSH_HUD_PROPERTIES_LIST_H 0009 0010 #include <QScopedPointer> 0011 #include <QListWidget> 0012 #include "kis_uniform_paintop_property.h" 0013 0014 0015 class KisBrushHudPropertiesList : public QListWidget 0016 { 0017 public: 0018 KisBrushHudPropertiesList(QWidget *parent); 0019 ~KisBrushHudPropertiesList() override; 0020 0021 void addProperties(const QList<KisUniformPaintOpPropertySP> &properties); 0022 QList<QString> selectedPropertiesIds() const; 0023 0024 Qt::DropActions supportedDropActions() const override; 0025 0026 private: 0027 struct Private; 0028 const QScopedPointer<Private> m_d; 0029 }; 0030 0031 #endif /* __KIS_BRUSH_HUD_PROPERTIES_LIST_H */