Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/colorsmudge/kis_colorsmudgeop_settings.cpp
Show All 35 Lines | |||||
36 | 36 | | |||
37 | #include <brushengine/kis_slider_based_paintop_property.h> | 37 | #include <brushengine/kis_slider_based_paintop_property.h> | ||
38 | #include <brushengine/kis_combo_based_paintop_property.h> | 38 | #include <brushengine/kis_combo_based_paintop_property.h> | ||
39 | #include "kis_paintop_preset.h" | 39 | #include "kis_paintop_preset.h" | ||
40 | #include "kis_paintop_settings_update_proxy.h" | 40 | #include "kis_paintop_settings_update_proxy.h" | ||
41 | #include "kis_curve_option_uniform_property.h" | 41 | #include "kis_curve_option_uniform_property.h" | ||
42 | #include "kis_smudge_radius_option.h" | 42 | #include "kis_smudge_radius_option.h" | ||
43 | 43 | | |||
44 | typedef KisCallbackBasedPaintopProperty<KisComboBasedPaintOpProperty> KisComboBasedPaintOpPropertyCallback; | | |||
45 | | ||||
46 | QList<KisUniformPaintOpPropertySP> KisColorSmudgeOpSettings::uniformProperties() | 44 | QList<KisUniformPaintOpPropertySP> KisColorSmudgeOpSettings::uniformProperties() | ||
47 | { | 45 | { | ||
48 | QList<KisUniformPaintOpPropertySP> props = | 46 | QList<KisUniformPaintOpPropertySP> props = | ||
49 | listWeakToStrong(m_d->uniformProperties); | 47 | listWeakToStrong(m_d->uniformProperties); | ||
50 | 48 | | |||
51 | if (props.isEmpty()) { | 49 | if (props.isEmpty()) { | ||
52 | { | 50 | { | ||
53 | KisComboBasedPaintOpPropertyCallback *prop = | 51 | KisComboBasedPaintOpPropertyCallback *prop = | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |