|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
Graphical representation for the available widgets while configuring attributes forms. More...
#include <qgsattributesformproperties.h>

Public Member Functions | |
| QgsAttributesAvailableWidgetsView (QgsVectorLayer *layer, QWidget *parent=nullptr) | |
| Constructor for QgsAttributesAvailableWidgetsView, with the given parent. | |
| QgsAttributesAvailableWidgetsModel * | availableWidgetsModel () const |
| Access the underlying QgsAttributesAvailableWidgetsModel source model. | |
| void | setModel (QAbstractItemModel *model) override |
| Overridden setModel() from base class. Only QgsAttributesFormProxyModel is an acceptable model. | |
Public Member Functions inherited from QgsAttributesFormBaseView | |
| 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. | |
Public Member Functions inherited from QgsExpressionContextGenerator | |
| virtual | ~QgsExpressionContextGenerator ()=default |
Additional Inherited Members | |
Public Slots inherited from QgsAttributesFormBaseView | |
| 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. | |
Protected Attributes inherited from QgsAttributesFormBaseView | |
| QgsVectorLayer * | mLayer = nullptr |
| QgsAttributesFormProxyModel * | mModel = nullptr |
Graphical representation for the available widgets while configuring attributes forms.
Definition at line 254 of file qgsattributesformproperties.h.
|
explicit |
Constructor for QgsAttributesAvailableWidgetsView, with the given parent.
The given layer is used to build an expression context with the layer scope.
Definition at line 941 of file qgsattributesformproperties.cpp.
| QgsAttributesAvailableWidgetsModel * QgsAttributesAvailableWidgetsView::availableWidgetsModel | ( | ) | const |
Access the underlying QgsAttributesAvailableWidgetsModel source model.
Definition at line 955 of file qgsattributesformproperties.cpp.
|
override |
Overridden setModel() from base class. Only QgsAttributesFormProxyModel is an acceptable model.
Definition at line 946 of file qgsattributesformproperties.cpp.