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

Public Member Functions | |
KisDynamicSensorPressure () | |
KisDynamicSensorPressure () | |
virtual | ~KisDynamicSensorPressure () |
~KisDynamicSensorPressure () override | |
virtual qreal | value (const KisPaintInformation &info) |
qreal | value (const KisPaintInformation &info) override |
![]() | |
~KisDynamicSensor () override | |
virtual QWidget * | createConfigurationWidget (QWidget *parent, QWidget *selector) |
const KisCubicCurve & | curve () const |
virtual bool | dependsOnCanvasRotation () const |
void | fromXML (const QDomElement &) override |
bool | hasCustomCurve () const |
QString | identifier () |
virtual bool | isAbsoluteRotation () const |
bool | isActive () const |
virtual bool | isAdditive () const |
int | length () |
virtual QString | maximumLabel (DynamicSensorType sensorType, int max=-1) |
virtual int | maximumValue (DynamicSensorType sensorType, int max=-1) |
virtual QString | minimumLabel (DynamicSensorType sensorType) |
virtual int | minimumValue (DynamicSensorType sensorType) |
qreal | parameter (const KisPaintInformation &info) |
qreal | parameter (const KisPaintInformation &info, const KisCubicCurve curve, const bool customCurve) |
void | removeCurve () |
virtual void | reset () |
DynamicSensorType | sensorType () const |
void | setActive (bool active) |
void | setCurve (const KisCubicCurve &curve) |
void | toXML (QDomDocument &, QDomElement &) const override |
virtual QString | valueSuffix (DynamicSensorType sensorType) |
Additional Inherited Members | |
![]() | |
enum | ParameterSign { NegativeParameter = -1, UnSignedParameter = 0, PositiveParameter = 1 } |
![]() | |
static qreal | additiveToScaling (qreal x) |
static KisDynamicSensorSP | createFromXML (const QDomElement &, const QString &parentOptionName) |
static KisDynamicSensorSP | createFromXML (const QString &, const QString &parentOptionName) |
static QString | id (DynamicSensorType sensorType) |
static KisDynamicSensorSP | id2Sensor (const KoID &id, const QString &parentOptionName) |
static KisDynamicSensorSP | id2Sensor (const QString &s, const QString &parentOptionName) |
static qreal | scalingToAdditive (qreal x) |
![]() | |
KisDynamicSensor (DynamicSensorType type) | |
![]() | |
bool | m_active {false} |
KisCubicCurve | m_curve |
bool | m_customCurve {false} |
QString | m_id |
int | m_length {-1} |
DynamicSensorType | m_type |
Detailed Description
Definition at line 39 of file kis_dynamic_sensors.h.
Constructor & Destructor Documentation
◆ KisDynamicSensorPressure() [1/2]
KisDynamicSensorPressure::KisDynamicSensorPressure | ( | ) |
Definition at line 44 of file kis_dynamic_sensors.cc.
◆ ~KisDynamicSensorPressure() [1/2]
|
inlinevirtual |
Definition at line 43 of file kis_dynamic_sensors.h.
◆ KisDynamicSensorPressure() [2/2]
KisDynamicSensorPressure::KisDynamicSensorPressure | ( | ) |
◆ ~KisDynamicSensorPressure() [2/2]
|
inlineoverride |
Definition at line 43 of file sensors/kis_dynamic_sensors.h.
Member Function Documentation
◆ value() [1/2]
|
inlinevirtual |
Implements KisDynamicSensor.
Definition at line 44 of file kis_dynamic_sensors.h.
◆ value() [2/2]
|
inlineoverridevirtual |
Implements KisDynamicSensor.
Definition at line 44 of file sensors/kis_dynamic_sensors.h.
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 Tue Apr 20 2021 23:38:14 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Apr 20 2021 23:38:14 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.