34 Q_PROPERTY(
bool allowEvalErrors READ allowEvalErrors WRITE setAllowEvalErrors NOTIFY allowEvalErrorsChanged )
38 const QString &startText = QString(),
40 const QString &key =
"generic",
46 void setExpressionText(
const QString &text );
48 QString expressionText();
56 QString expectedOutputFormat();
63 void setExpectedOutputFormat(
const QString &expected );
88 bool allowEvalErrors()
const;
95 void setAllowEvalErrors(
bool allowEvalErrors );
114 void done(
int r )
override;
116 void accept()
override;
117 void reject()
override;
120 const QString mInitialText;
122 bool mAllowEvalErrors =
false;
126 void syncOkButtonEnabledState();
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...