QGIS API Documentation 3.43.0-Master (a93bf8b6462)
|
Graphical representation for the form layout while configuring attributes forms. More...
#include <qgsattributesformproperties.h>
Public Member Functions | |
QgsAttributesFormLayoutView (QgsVectorLayer *layer, QWidget *parent=nullptr) | |
Constructor for QgsAttributesFormLayoutView, with the given parent. | |
void | setModel (QAbstractItemModel *model) override |
Overridden setModel() from base class. Only QgsAttributesFormProxyModel is an acceptable model. | |
![]() | |
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. | |
QModelIndex | firstSelectedIndex () const |
Returns the source model index corresponding to the first selected row. | |
![]() | |
virtual | ~QgsExpressionContextGenerator ()=default |
Protected Member Functions | |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | dragMoveEvent (QDragMoveEvent *event) override |
Is called when mouse is moved over attributes tree before a drop event. | |
void | dropEvent (QDropEvent *event) override |
Additional Inherited Members | |
![]() | |
void | selectFirstMatchingItem (const QgsAttributesFormData::AttributesFormItemType &itemType, const QString &itemId) |
Selects the first item that matches a itemType and a itemId. | |
void | setFilterText (const QString &text) |
Sets the filter text to the underlying proxy model. | |
![]() | |
QgsVectorLayer * | mLayer = nullptr |
QgsAttributesFormProxyModel * | mModel = nullptr |
Graphical representation for the form layout while configuring attributes forms.
Definition at line 281 of file qgsattributesformproperties.h.
|
explicit |
Constructor for QgsAttributesFormLayoutView, with the given parent.
The given layer is used to build an expression context with the layer scope.
Definition at line 961 of file qgsattributesformproperties.cpp.
|
overrideprotected |
Definition at line 1006 of file qgsattributesformproperties.cpp.
|
overrideprotected |
Is called when mouse is moved over attributes tree before a drop event.
Definition at line 1031 of file qgsattributesformproperties.cpp.
|
overrideprotected |
Definition at line 1052 of file qgsattributesformproperties.cpp.
|
override |
Overridden setModel() from base class. Only QgsAttributesFormProxyModel is an acceptable model.
Definition at line 967 of file qgsattributesformproperties.cpp.