30 if ( !dataDefinedLineArrangement.isEmpty() )
54 if ( value.compare( QLatin1String(
"visible" ), Qt::CaseInsensitive ) == 0 )
56 else if ( value.compare( QLatin1String(
"entire" ), Qt::CaseInsensitive ) == 0 )
67 if ( value.compare( QLatin1String(
"hint" ), Qt::CaseInsensitive ) == 0 )
69 else if ( value.compare( QLatin1String(
"strict" ), Qt::CaseInsensitive ) == 0 )
80 if ( value.compare( QLatin1String(
"follow" ), Qt::CaseInsensitive ) == 0 )
82 else if ( value.compare( QLatin1String(
"start" ), Qt::CaseInsensitive ) == 0 )
84 else if ( value.compare( QLatin1String(
"center" ), Qt::CaseInsensitive ) == 0 )
86 else if ( value.compare( QLatin1String(
"end" ), Qt::CaseInsensitive ) == 0 )
double valueAsDouble(int key, const QgsExpressionContext &context, double defaultValue=0.0, bool *ok=nullptr) const
Calculates the current value of the property with the specified key and interprets it as a double.
QString valueAsString(int key, const QgsExpressionContext &context, const QString &defaultString=QString(), bool *ok=nullptr) const
Calculates the current value of the property with the specified key and interprets it as a string.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
void setOriginalValueVariable(const QVariant &value)
Sets the original value variable value for the context.