|
| QgsSizeScaleTransformer (ScaleType type=Linear, double minValue=0.0, double maxValue=1.0, double minSize=0.0, double maxSize=1.0, double nullSize=0.0, double exponent=1.0) |
| Constructor for QgsSizeScaleTransformer. More...
|
|
QgsSizeScaleTransformer * | clone () const override |
| Returns a clone of the transformer. More...
|
|
double | exponent () const |
| Returns the exponent for an exponential expression. More...
|
|
bool | loadVariant (const QVariant &definition) override |
| Loads this transformer from a QVariantMap, wrapped in a QVariant. More...
|
|
double | maxSize () const |
| Returns the maximum calculated size. More...
|
|
double | minSize () const |
| Returns the minimum calculated size. More...
|
|
double | nullSize () const |
| Returns the size value when an expression evaluates to NULL. More...
|
|
void | setExponent (double exponent) |
| Sets the exponent for an exponential expression. More...
|
|
void | setMaxSize (double size) |
| Sets the maximum calculated size. More...
|
|
void | setMinSize (double size) |
| Sets the minimum calculated size. More...
|
|
void | setNullSize (double size) |
| Sets the size value for when an expression evaluates to NULL. More...
|
|
void | setType (ScaleType type) |
| Sets the size transformer's scaling type (the method used to calculate the size from a value). More...
|
|
double | size (double value) const |
| Calculates the size corresponding to a specific value. 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...
|
|
ScaleType | type () const |
| Returns the size transformer's scaling type (the method used to calculate the size from a value). 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...
|
|