16 #ifndef QGSEXPRESSIONPREVIEWWIDGET_H 
   17 #define QGSEXPRESSIONPREVIEWWIDGET_H 
   21 #include "ui_qgsexpressionpreviewbase.h" 
   46     void setExpressionText( 
const QString &expression );
 
   69     bool evalError() 
const;
 
   75     bool parserError() 
const;
 
   81     QList<QgsExpression::ParserError> 
parserErrors()
 const {
return mExpression.parserErrors();}
 
  110     void setCurrentFeature( 
const QgsFeature &feature );
 
  114     void linkActivated( 
const QString & );
 
  115     void setEvalError( 
bool evalError );
 
  116     void setParserError( 
bool parserError );
 
  120     void setExpressionToolTip( 
const QString &toolTip );
 
  121     void refreshPreview();
 
  126     bool mUseGeomCalculator = 
false;
 
  128     bool mEvalError = 
true;
 
  129     bool mParserError = 
true;
 
  130     QString mExpressionText;
 
A general purpose distance and area calculator, capable of performing ellipsoid based calculations.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Abstract base class for all nodes that can appear in an expression.
Class for parsing and evaluation of expressions (formerly called "search strings").
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Represents a vector layer which manages a vector based data sets.