|
| QgsColorRampTransformer (const QgsColorRampTransformer &other) |
| Copy constructor. More...
|
|
| QgsColorRampTransformer (double minValue=0.0, double maxValue=1.0, QgsColorRamp *ramp=nullptr, const QColor &nullColor=QColor(0, 0, 0, 0)) |
| Constructor for QgsColorRampTransformer. More...
|
|
QgsColorRampTransformer * | clone () const override |
| Returns a clone of the transformer. More...
|
|
QColor | color (double value) const |
| Calculates the color corresponding to a specific value. More...
|
|
QgsColorRamp * | colorRamp () const |
| Returns the color ramp used for calculating property colors. More...
|
|
bool | loadVariant (const QVariant &definition) override |
| Loads this transformer from a QVariantMap, wrapped in a QVariant. More...
|
|
QColor | nullColor () const |
| Returns the color corresponding to a null value. More...
|
|
QgsColorRampTransformer & | operator= (const QgsColorRampTransformer &other) |
|
QString | rampName () const |
| Returns the color ramp's name. More...
|
|
void | setColorRamp (QgsColorRamp *ramp) |
| Sets the color ramp to use for calculating property colors. More...
|
|
void | setNullColor (const QColor &color) |
| Sets the color corresponding to a null value. More...
|
|
void | setRampName (const QString &name) |
| Sets the color ramp's name. More...
|
|
QString | toExpression (const QString &baseExpression) const override |
| Converts the transformer to a QGIS expression string. More...
|
|
QVariant | toVariant () const override |
| Saves this transformer to a QVariantMap, wrapped in a QVariant. More...
|
|
QVariant | transform (const QgsExpressionContext &context, const QVariant &value) const override |
| Calculates the transform of a value. More...
|
|
Type | transformerType () const override |
| Returns the transformer type. More...
|
|
| QgsPropertyTransformer (const QgsPropertyTransformer &other) |
| Copy constructor. More...
|
|
| QgsPropertyTransformer (double minValue=0.0, double maxValue=1.0) |
| Constructor for QgsPropertyTransformer. More...
|
|
virtual | ~QgsPropertyTransformer () |
|
virtual QgsPropertyTransformer * | clone () const =0 |
| Returns a clone of the transformer. More...
|
|
QgsCurveTransform * | curveTransform () const |
| Returns the curve transform applied to input values before they are transformed by the individual transform subclasses. More...
|
|
virtual bool | loadVariant (const QVariant &transformer) |
| Loads this transformer from a QVariantMap, wrapped in a QVariant. More...
|
|
double | maxValue () const |
| Returns the maximum value expected by the transformer. More...
|
|
double | minValue () const |
| Returns the minimum value expected by the transformer. More...
|
|
QgsPropertyTransformer & | operator= (const QgsPropertyTransformer &other) |
|
void | setCurveTransform (QgsCurveTransform *transform) |
| Sets a curve transform to apply to input values before they are transformed by the individual transform subclasses. More...
|
|
void | setMaxValue (double max) |
| Sets the maximum value expected by the transformer. More...
|
|
void | setMinValue (double min) |
| Sets the minimum value expected by the transformer. More...
|
|
virtual QString | toExpression (const QString &baseExpression) const =0 |
| Converts the transformer to a QGIS expression string. More...
|
|
virtual QVariant | toVariant () const |
| Saves this transformer to a QVariantMap, wrapped in a QVariant. More...
|
|
virtual QVariant | transform (const QgsExpressionContext &context, const QVariant &value) const =0 |
| Calculates the transform of a value. More...
|
|
virtual Type | transformerType () const =0 |
| Returns the transformer type. More...
|
|