plugins/paintops/libpaintop
#include <kis_pressure_scatter_option.h>

Public Member Functions | |
KisPressureScatterOption () | |
QPointF | apply (const KisPaintInformation &info, qreal width, qreal height) const |
void | enableAxisX (bool enable) |
void | enableAxisY (bool enable) |
bool | isAxisXEnabled () |
bool | isAxisYEnabled () |
void | readOptionSetting (const KisPropertiesConfigurationSP setting) override |
qreal | scatterAmount () |
void | setScatterAmount (qreal amount) |
void | writeOptionSetting (KisPropertiesConfigurationSP setting) const override |
![]() | |
KisCurveOption (const QString &name, KisPaintOpOption::PaintopCategory category, bool checked, qreal value=1.0, qreal min=0.0, qreal max=1.0) | |
virtual | ~KisCurveOption () |
QList< KisDynamicSensorSP > | activeSensors () const |
KisPaintOpOption::PaintopCategory | category () const |
qreal | computeRotationLikeValue (const KisPaintInformation &info, qreal baseValue, bool absoluteAxesFlipped, qreal scalingPartCoeff, bool disableScalingPart) const |
qreal | computeSizeLikeValue (const KisPaintInformation &info) const |
ValueComponents | computeValueComponents (const KisPaintInformation &info) const |
KisCubicCurve | defaultCurve () |
KisCubicCurve | emptyCurve () |
KisCubicCurve | getCommonCurve () const |
int | getCurveMode () const |
virtual KisDynamicSensorSP | id2Sensor (const KoID &id, const QString &parentOptionName) |
virtual DynamicSensorType | id2Type (const KoID &id) |
virtual int | intMaxValue () const |
virtual int | intMinValue () const |
bool | isCheckable () |
bool | isChecked () const |
bool | isCurveUsed () const |
bool | isRandom () const |
bool | isSameCurveUsed () const |
virtual void | lodLimitations (KisPaintopLodLimitations *l) const |
qreal | maxValue () const |
qreal | minValue () const |
const QString & | name () const |
void | replaceSensor (KisDynamicSensorSP sensor) |
void | resetAllSensors () |
KisDynamicSensorSP | sensor (DynamicSensorType sensorType, bool active) const |
QList< KisDynamicSensorSP > | sensors () |
virtual QList< KoID > | sensorsIds () |
virtual QList< DynamicSensorType > | sensorsTypes () |
void | setChecked (bool checked) |
void | setCommonCurve (KisCubicCurve curve) |
void | setCurve (DynamicSensorType sensorType, bool useSameCurve, const KisCubicCurve &curve) |
void | setCurveMode (int mode) |
void | setCurveUsed (bool useCurve) |
void | setSeparateCurveValue (bool separateCurveValue) |
void | setUseSameCurve (bool useSameCurve) |
void | setValue (qreal value) |
virtual KisDynamicSensorSP | type2Sensor (DynamicSensorType sensorType, const QString &parentOptionName) |
qreal | value () const |
virtual QString | valueSuffix () const |
![]() | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
![]() | |
void | unCheckUseCurve () |
![]() | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
![]() | |
virtual void | readNamedOptionSetting (const QString &prefix, const KisPropertiesConfigurationSP setting) |
void | setValueRange (qreal min, qreal max) |
![]() | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
KisPaintOpOption::PaintopCategory | m_category |
bool | m_checkable |
bool | m_checked |
KisCubicCurve | m_commonCurve |
int | m_curveMode |
qreal | m_maxValue |
qreal | m_minValue |
QString | m_name |
QMap< DynamicSensorType, KisDynamicSensorSP > | m_sensorMap |
bool | m_separateCurveValue |
bool | m_useCurve |
bool | m_useSameCurve |
qreal | m_value |
![]() | |
objectName | |
Detailed Description
Scatters the position of the dab.
Definition at line 23 of file kis_pressure_scatter_option.h.
Constructor & Destructor Documentation
◆ KisPressureScatterOption()
KisPressureScatterOption::KisPressureScatterOption | ( | ) |
Definition at line 20 of file kis_pressure_scatter_option.cpp.
Member Function Documentation
◆ apply()
QPointF KisPressureScatterOption::apply | ( | const KisPaintInformation & | info, |
qreal | width, | ||
qreal | height | ||
) | const |
Definition at line 77 of file kis_pressure_scatter_option.cpp.
◆ enableAxisX()
void KisPressureScatterOption::enableAxisX | ( | bool | enable | ) |
Definition at line 27 of file kis_pressure_scatter_option.cpp.
◆ enableAxisY()
void KisPressureScatterOption::enableAxisY | ( | bool | enable | ) |
Definition at line 32 of file kis_pressure_scatter_option.cpp.
◆ isAxisXEnabled()
bool KisPressureScatterOption::isAxisXEnabled | ( | ) |
Definition at line 37 of file kis_pressure_scatter_option.cpp.
◆ isAxisYEnabled()
bool KisPressureScatterOption::isAxisYEnabled | ( | ) |
Definition at line 42 of file kis_pressure_scatter_option.cpp.
◆ readOptionSetting()
|
overridevirtual |
Reimplemented from KisCurveOption.
Definition at line 65 of file kis_pressure_scatter_option.cpp.
◆ scatterAmount()
qreal KisPressureScatterOption::scatterAmount | ( | ) |
Definition at line 52 of file kis_pressure_scatter_option.cpp.
◆ setScatterAmount()
void KisPressureScatterOption::setScatterAmount | ( | qreal | amount | ) |
Definition at line 47 of file kis_pressure_scatter_option.cpp.
◆ writeOptionSetting()
|
overridevirtual |
Reimplemented from KisCurveOption.
Definition at line 58 of file kis_pressure_scatter_option.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:38:44 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.