plugins/paintops/libpaintop
KisPressureSoftnessOption Class Reference
#include <kis_pressure_softness_option.h>
Inheritance diagram for KisPressureSoftnessOption:

Public Member Functions | |
KisPressureSoftnessOption () | |
double | apply (const KisPaintInformation &info) const |
![]() | |
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 |
virtual void | readOptionSetting (KisPropertiesConfigurationSP setting) |
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 |
virtual void | writeOptionSetting (KisPropertiesConfigurationSP setting) 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
This option is responsible to deliver values suitable for softness They are in range 0.0..1.0.
Definition at line 18 of file kis_pressure_softness_option.h.
Constructor & Destructor Documentation
◆ KisPressureSoftnessOption()
KisPressureSoftnessOption::KisPressureSoftnessOption | ( | ) |
Definition at line 9 of file kis_pressure_softness_option.cpp.
Member Function Documentation
◆ apply()
double KisPressureSoftnessOption::apply | ( | const KisPaintInformation & | info | ) | const |
Definition at line 15 of file kis_pressure_softness_option.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:38:29 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:38:29 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.