16#ifndef QGSHTMLWIDGETWRAPPER_H
17#define QGSHTMLWIDGETWRAPPER_H
43 bool valid()
const override;
66 void setHtmlContext();
73 void checkGeometryNeeds();
78 bool mNeedsGeometry =
false;
80 bool mRequiresFormScope =
false;
94class HtmlExpression :
public QObject
104 Q_INVOKABLE QString evaluate(
const QString &expression )
const;
116class NeedsGeometryEvaluator :
public QObject
122 bool needsGeometry()
const {
return mNeedsGeometry; }
125 void setExpressionContext(
const QgsExpressionContext &context );
128 Q_INVOKABLE
void evaluate(
const QString &expression );
131 bool mNeedsGeometry =
false;
132 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...