16#ifndef QGSTEXTWIDGETWRAPPER_H
17#define QGSTEXTWIDGETWRAPPER_H
43 bool valid()
const override;
53 void setText(
const QString &text );
63 void updateTextContext();
70 QLabel *mWidget =
nullptr;
73 bool mRequiresFormScope =
false;
75 bool mNeedsGeometry =
false;
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...
bool needsGeometry() const
Returns true if the widget needs feature geometry.
friend class TestQgsTextWidgetWrapper
void setText(const QString &text)
Sets the text code to htmlCode.
QgsTextWidgetWrapper(QgsVectorLayer *layer, QWidget *editor, QWidget *parent)
Create a text widget wrapper.
void reinitWidget()
Clears the content and makes new initialization.
Represents a vector layer which manages a vector based dataset.