|
Krita Source Code Documentation
|
#include <kis_curve_paintop_settings.h>
Inheritance diagram for KisCurvePaintOpSettings:Classes | |
| struct | Private |
Public Member Functions | |
| KisCurvePaintOpSettings (KisResourcesInterfaceSP resourcesInterface) | |
| bool | paintIncremental () override |
| qreal | paintOpAngle () const override |
| qreal | paintOpSize () const override |
| void | setPaintOpAngle (qreal value) override |
| void | setPaintOpSize (qreal value) override |
| QList< KisUniformPaintOpPropertySP > | uniformProperties (KisPaintOpSettingsSP settings, QPointer< KisPaintOpPresetUpdateProxy > updateProxy) override |
| ~KisCurvePaintOpSettings () override | |
Public Member Functions inherited from KisPaintOpSettings | |
| virtual void | activate () |
| virtual qreal | airbrushInterval () const |
| virtual KisOptimizedBrushOutline | brushOutline (const KisPaintInformation &info, const OutlineMode &mode, qreal alignForZoom) |
| KoCanvasResourcesInterfaceSP | canvasResourcesInterface () const |
| virtual KisPaintOpSettingsSP | clone () const |
| KisPaintOpSettingsSP | createMaskingSettings () const |
| QString | effectivePaintOpCompositeOp () |
| bool | eraserMode () |
| bool | hasMaskingSettings () const |
| virtual bool | hasPatternSettings () const |
| virtual QString | indirectPaintingCompositeOp () const |
| virtual bool | isAirbrushing () const |
| virtual bool | isValid () const |
| KisPaintOpSettings (const KisPaintOpSettings &rhs) | |
| KisPaintOpSettings (KisResourcesInterfaceSP resourcesInterface) | |
| qreal | lodSizeThreshold () const |
| virtual bool | lodSizeThresholdSupported () const |
| QString | maskingBrushCompositeOp () const |
| virtual QString | modelName () const |
| virtual bool | mousePressEvent (const KisPaintInformation &paintInformation, Qt::KeyboardModifiers modifiers, KisNodeWSP currentNode) |
| virtual bool | mouseReleaseEvent () |
| virtual bool | needsAsynchronousUpdates () const |
| KisNodeSP | node () const |
| QString | paintOpCompositeOp () |
| qreal | paintOpFade () |
| qreal | paintOpFlow () |
| virtual qreal | paintOpOpacity () |
| virtual qreal | paintOpPatternSize () |
| qreal | paintOpScatter () |
| Private () | |
| Private (const Private &rhs) | |
| virtual void | regenerateResourceCache (KoResourceCacheInterfaceSP cacheInterface) |
| virtual QList< int > | requiredCanvasResources () const |
| virtual void | resetSettings (const QStringList &preserveProperties=QStringList()) |
| KoResourceCacheInterfaceSP | resourceCacheInterface () const |
| KisResourcesInterfaceSP | resourcesInterface () const |
| quint64 | sanityVersionCookie () const |
| qreal | savedBrushOpacity () const |
| qreal | savedBrushSize () const |
| qreal | savedEraserOpacity () const |
| qreal | savedEraserSize () const |
| void | setCanvasResourcesInterface (KoCanvasResourcesInterfaceSP canvasResourcesInterface) |
| void | setEraserMode (bool value) |
| void | setLodSizeThreshold (qreal value) |
| void | setModelName (const QString &modelName) |
| void | setPaintOpCompositeOp (const QString &value) |
| void | setPaintOpFade (qreal value) |
| void | setPaintOpFlow (qreal value) |
| virtual void | setPaintOpOpacity (qreal value) |
| void | setPaintOpScatter (qreal value) |
| void | setProperty (const QString &name, const QVariant &value) override |
| virtual void | setRandomOffset (const KisPaintInformation &paintInformation) |
| virtual void | setResourceCacheInterface (KoResourceCacheInterfaceSP cacheInterface) |
| void | setResourcesInterface (KisResourcesInterfaceSP resourcesInterface) |
| void | setSavedBrushOpacity (qreal value) |
| void | setSavedBrushSize (qreal value) |
| void | setSavedEraserOpacity (qreal value) |
| void | setSavedEraserSize (qreal value) |
| void | setUpdateListener (UpdateListenerWSP listener) |
| UpdateListenerWSP | updateListener () const |
| virtual bool | useSpacingUpdates () const |
| ~KisPaintOpSettings () override | |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Public Member Functions inherited from KisPropertiesConfiguration | |
| void | clearProperties () |
| Clear the map of properties. | |
| virtual bool | compareTo (const KisPropertiesConfiguration *rhs) const |
| virtual void | dump () const |
| void | fromXML (const QDomElement &) override |
| bool | fromXML (const QString &xml, bool clear=true) override |
| bool | getBool (const QString &name, bool def=false) const |
| KoColor | getColor (const QString &name, const KoColor &color=KoColor()) const |
| getColor fetch the given property as a KoColor. | |
| KisCubicCurve | getCubicCurve (const QString &name, const KisCubicCurve &curve=KisCubicCurve()) const |
| double | getDouble (const QString &name, double def=0.0) const |
| float | getFloat (const QString &name, float def=0.0) const |
| int | getInt (const QString &name, int def=0) const |
| void | getPrefixedProperties (const QString &prefix, KisPropertiesConfiguration *config) const |
| void | getPrefixedProperties (const QString &prefix, KisPropertiesConfigurationSP config) const |
| virtual QMap< QString, QVariant > | getProperties () const |
| virtual QList< QString > | getPropertiesKeys () const |
| virtual QVariant | getProperty (const QString &name) const |
| virtual bool | getProperty (const QString &name, QVariant &value) const |
| QString | getPropertyLazy (const QString &name, const char *defaultValue) const |
| QStringList | getPropertyLazy (const QString &name, const QStringList &defaultValue) const |
| template<typename T > | |
| T | getPropertyLazy (const QString &name, const T &defaultValue) const |
| QString | getString (const QString &name, const QString &def=QString()) const |
| QStringList | getStringList (const QString &name, const QStringList &defaultValue=QStringList()) const |
| virtual bool | hasProperty (const QString &name) const |
| KisPropertiesConfiguration () | |
| KisPropertiesConfiguration (const KisPropertiesConfiguration &rhs) | |
| KisPropertiesConfiguration & | operator= (const KisPropertiesConfiguration &rhs) |
| void | removeProperty (const QString &name) |
| void | setPrefixedProperties (const QString &prefix, const KisPropertiesConfiguration *config) |
| void | setPrefixedProperties (const QString &prefix, const KisPropertiesConfigurationSP config) |
| void | setProperty (const QString &name, const QStringList &value) |
| void | setPropertyNotSaved (const QString &name) |
| Marks a property that should not be saved by toXML. | |
| QString | toXML () const override |
| void | toXML (QDomDocument &, QDomElement &) const override |
| ~KisPropertiesConfiguration () override | |
Public Member Functions inherited from KisSerializableConfiguration | |
| KisSerializableConfiguration () | |
| KisSerializableConfiguration (const KisSerializableConfiguration &rhs) | |
| virtual | ~KisSerializableConfiguration () |
Public Member Functions inherited from KisShared | |
| bool | deref () |
| bool | ref () |
| int | refCount () |
| QAtomicInt * | sharedWeakReference () |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Definition at line 13 of file kis_curve_paintop_settings.h.
| KisCurvePaintOpSettings::KisCurvePaintOpSettings | ( | KisResourcesInterfaceSP | resourcesInterface | ) |
Definition at line 15 of file kis_curve_paintop_settings.cpp.
|
override |
Definition at line 21 of file kis_curve_paintop_settings.cpp.
|
overridevirtual |
XXX: Remove this after 2.0, when the paint operation (incremental/non incremental) will be completely handled in the paintop, not in the tool. This is a filthy hack to move the option to the right place, at least.
Reimplemented from KisPaintOpSettings.
Definition at line 50 of file kis_curve_paintop_settings.cpp.
References BUILDUP, KisPaintingModeOptionData::paintingMode, and KisPaintingModeOptionData::read().
|
overridevirtual |
Implements KisPaintOpSettings.
Definition at line 45 of file kis_curve_paintop_settings.cpp.
|
overridevirtual |
Implements KisPaintOpSettings.
Definition at line 33 of file kis_curve_paintop_settings.cpp.
References KisCurveOpOptionData::curve_line_width, and KisCurveOpOptionData::read().
|
overridevirtual |
Set paintop angle (in degrees) directly in the properties. Increasing the angle corresponds to a counter-clockwise rotation.
Implements KisPaintOpSettings.
Definition at line 40 of file kis_curve_paintop_settings.cpp.
References value().
|
overridevirtual |
Set paintop size directly in the properties
Implements KisPaintOpSettings.
Definition at line 25 of file kis_curve_paintop_settings.cpp.
References KisCurveOpOptionData::curve_line_width, KisCurveOpOptionData::read(), value(), and KisCurveOpOptionData::write().
|
overridevirtual |
Reimplemented from KisPaintOpSettings.
Definition at line 64 of file kis_curve_paintop_settings.cpp.
References KisCurveOpOptionData::curve_curves_opacity, KisCurveOpOptionData::curve_line_width, KisCurveOpOptionData::curve_paint_connection_line, KisCurveOpOptionData::curve_stroke_history_size, listWeakToStrong(), m_d, KisCurveOpOptionData::read(), KisCallbackBasedPaintopProperty< ParentClass >::setReadCallback(), KisCallbackBasedPaintopProperty< ParentClass >::setWriteCallback(), toQShared(), KisPaintOpSettings::uniformProperties, and KisCurveOpOptionData::write().
|
private |
Definition at line 32 of file kis_curve_paintop_settings.h.