Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/dynadraw/kis_dyna_paintop_settings.cpp
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | |||||
53 | #include <brushengine/kis_slider_based_paintop_property.h> | 53 | #include <brushengine/kis_slider_based_paintop_property.h> | ||
54 | #include <brushengine/kis_combo_based_paintop_property.h> | 54 | #include <brushengine/kis_combo_based_paintop_property.h> | ||
55 | #include "kis_paintop_preset.h" | 55 | #include "kis_paintop_preset.h" | ||
56 | #include "kis_paintop_settings_update_proxy.h" | 56 | #include "kis_paintop_settings_update_proxy.h" | ||
57 | #include "kis_dynaop_option.h" | 57 | #include "kis_dynaop_option.h" | ||
58 | #include "kis_standard_uniform_properties_factory.h" | 58 | #include "kis_standard_uniform_properties_factory.h" | ||
59 | 59 | | |||
60 | 60 | | |||
61 | typedef KisCallbackBasedPaintopProperty<KisComboBasedPaintOpProperty> KisComboBasedPaintOpPropertyCallback; | | |||
62 | | ||||
63 | | ||||
64 | QList<KisUniformPaintOpPropertySP> KisDynaPaintOpSettings::uniformProperties() | 61 | QList<KisUniformPaintOpPropertySP> KisDynaPaintOpSettings::uniformProperties() | ||
65 | { | 62 | { | ||
66 | QList<KisUniformPaintOpPropertySP> props = | 63 | QList<KisUniformPaintOpPropertySP> props = | ||
67 | listWeakToStrong(m_d->uniformProperties); | 64 | listWeakToStrong(m_d->uniformProperties); | ||
68 | 65 | | |||
69 | if (props.isEmpty()) { | 66 | if (props.isEmpty()) { | ||
70 | { | 67 | { | ||
71 | KisIntSliderBasedPaintOpPropertyCallback *prop = | 68 | KisIntSliderBasedPaintOpPropertyCallback *prop = | ||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |