Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_combo_based_paintop_property.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_COMBO_BASED_PAINTOP_PROPERTY_H
8#define __KIS_COMBO_BASED_PAINTOP_PROPERTY_H
9
10#include <QScopedPointer>
11
12#include "kis_image_export.h"
13#include "kis_types.h"
15
16class QIcon;
17
18
20{
21public:
22 KisComboBasedPaintOpProperty(const KoID &id, KisPaintOpSettingsRestrictedSP settings, QObject *parent);
24
25 // callback-compatible c-tor
26 KisComboBasedPaintOpProperty(Type type, SubType subType, const KoID &id, KisPaintOpSettingsRestrictedSP settings, QObject *parent);
27 KisComboBasedPaintOpProperty(Type type, const KoID &id, KisPaintOpSettingsRestrictedSP settings, QObject *parent);
28
29 QList<QString> items() const;
30 void setItems(const QList<QString> &list);
31
32 QList<QIcon> icons() const;
33 void setIcons(const QList<QIcon> &list);
34
35private:
36 struct Private;
37 const QScopedPointer<Private> m_d;
38};
39
44
45#endif /* __KIS_COMBO_BASED_PAINTOP_PROPERTY_H */
SubType
Hint to guess what this property is used for.
Definition KoID.h:30