33 Q_PROPERTY(
bool allowEvalErrors READ allowEvalErrors WRITE setAllowEvalErrors NOTIFY allowEvalErrorsChanged )
37 const QString &startText = QString(),
39 const QString &key =
"generic",
45 void setExpressionText(
const QString &text );
47 QString expressionText();
55 QString expectedOutputFormat();
62 void setExpectedOutputFormat(
const QString &expected );
87 bool allowEvalErrors()
const;
94 void setAllowEvalErrors(
bool allowEvalErrors );
113 void done(
int r )
override;
115 void accept()
override;
116 void reject()
override;
119 const QString mInitialText;
121 bool mAllowEvalErrors =
false;
125 void syncOkButtonEnabledState();
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...