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
"
14
#include "
kis_uniform_paintop_property.h
"
15
16
class
QIcon;
17
18
19
class
KRITAIMAGE_EXPORT
KisComboBasedPaintOpProperty
:
public
KisUniformPaintOpProperty
20
{
21
public
:
22
KisComboBasedPaintOpProperty
(
const
KoID
&
id
,
KisPaintOpSettingsRestrictedSP
settings, QObject *parent);
23
~KisComboBasedPaintOpProperty
()
override
;
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
35
private
:
36
struct
Private
;
37
const
QScopedPointer<Private>
m_d
;
38
};
39
40
#include "
kis_callback_based_paintop_property.h
"
41
extern
template
class
KisCallbackBasedPaintopProperty<KisComboBasedPaintOpProperty>
;
42
using
KisComboBasedPaintOpPropertyCallback
=
43
KisCallbackBasedPaintopProperty<KisComboBasedPaintOpProperty>
;
44
45
#endif
/* __KIS_COMBO_BASED_PAINTOP_PROPERTY_H */
KisCallbackBasedPaintopProperty
Definition
kis_callback_based_paintop_property.h:15
KisComboBasedPaintOpProperty
Definition
kis_combo_based_paintop_property.h:20
KisComboBasedPaintOpProperty::m_d
const QScopedPointer< Private > m_d
Definition
kis_combo_based_paintop_property.h:37
KisRestrictedSharedPtr
Definition
kis_restricted_shared_ptr.h:21
KisUniformPaintOpProperty
Definition
kis_uniform_paintop_property.h:18
KisUniformPaintOpProperty::Type
Type
Definition
kis_uniform_paintop_property.h:21
KisUniformPaintOpProperty::SubType
SubType
Hint to guess what this property is used for.
Definition
kis_uniform_paintop_property.h:31
KoID
Definition
KoID.h:30
QList
Definition
KisQStringListFwd.h:16
kis_callback_based_paintop_property.h
kis_image_export.h
kis_types.h
kis_uniform_paintop_property.h
Private
Definition
SvgTransformParser.cpp:20
libs
image
brushengine
kis_combo_based_paintop_property.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52