QGIS API Documentation 3.43.0-Master (56aa1fd18d7)
|
Graphical representation for the attribute drag and drop editor. More...
#include <qgsattributesformproperties.h>
Public Slots | |
void | selectFirstMatchingItem (const QgsAttributesFormData::AttributesFormItemType &itemType, const QString &itemId) |
Selects the first item that matches a itemType and a itemId. | |
Public Member Functions | |
QgsAttributesFormBaseView (QgsVectorLayer *layer, QWidget *parent=nullptr) | |
Constructor for QgsAttributesFormBaseView, with the given parent. | |
QgsExpressionContext | createExpressionContext () const override |
This method needs to be reimplemented in all classes which implement this interface and return an expression context. | |
![]() | |
virtual | ~QgsExpressionContextGenerator ()=default |
Protected Attributes | |
QgsVectorLayer * | mLayer = nullptr |
Graphical representation for the attribute drag and drop editor.
Definition at line 200 of file qgsattributesformproperties.h.
|
explicit |
Constructor for QgsAttributesFormBaseView, with the given parent.
The given layer is used to build an expression context with the layer scope.
Definition at line 865 of file qgsattributesformproperties.cpp.
|
overridevirtual |
This method needs to be reimplemented in all classes which implement this interface and return an expression context.
Implements QgsExpressionContextGenerator.
Definition at line 888 of file qgsattributesformproperties.cpp.
|
slot |
Selects the first item that matches a itemType and a itemId.
Helps to keep in sync selection from both Attribute Widget view and Form Layout view.
Definition at line 871 of file qgsattributesformproperties.cpp.
|
protected |
Definition at line 224 of file qgsattributesformproperties.h.