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 );
91 bool allowEvalErrors()
const;
99 void setAllowEvalErrors(
bool allowEvalErrors );
119 void done(
int r )
override;
121 void accept()
override;
122 void reject()
override;
125 const QString mInitialText;
127 bool mAllowEvalErrors =
false;
131 void syncOkButtonEnabledState();
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...