16#ifndef QGSHTMLWIDGETWRAPPER_H
17#define QGSHTMLWIDGETWRAPPER_H
43 bool valid()
const override;
66 void setHtmlContext();
70 void checkGeometryNeeds();
75 bool mNeedsGeometry =
false;
77 bool mRequiresFormScope =
false;
91class HtmlExpression :
public QObject
101 Q_INVOKABLE QString evaluate(
const QString &expression )
const;
113class NeedsGeometryEvaluator :
public QObject
119 bool needsGeometry()
const {
return mNeedsGeometry; }
122 void setExpressionContext(
const QgsExpressionContext &context );
125 Q_INVOKABLE
void evaluate(
const QString &expression );
128 bool mNeedsGeometry =
false;
129 QgsExpressionContext mExpressionContext;
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
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 dataset.
A collection of stubs to mimic the API of QWebView on systems where the real library is not available...