QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
#include <qgsattributesformproperties.h>
Classes | |
class | DnDTreeItemData |
struct | FieldConfig |
Holds the configuration for a field. More... | |
struct | HtmlElementEditorConfiguration |
struct | QmlElementEditorConfiguration |
struct | RelationEditorConfiguration |
Public Types | |
enum | FieldPropertiesRoles { DnDTreeRole = Qt::UserRole , FieldConfigRole , FieldNameRole } |
Public Member Functions | |
QgsAttributesFormProperties (QgsVectorLayer *layer, QWidget *parent=nullptr) | |
void | apply () |
QgsAttributeEditorElement * | createAttributeEditorWidget (QTreeWidgetItem *item, QgsAttributeEditorElement *parent, bool forceGroup=true) |
QgsExpressionContext | createExpressionContext () const override |
This method needs to be reimplemented in all classes which implement this interface and return an expression context. More... | |
void | init () |
void | initAvailableWidgetsTree () |
void | initFormLayoutTree () |
void | initInitPython () |
void | initLayoutConfig () |
void | initSuppressCombo () |
void | loadRelations () |
Public Member Functions inherited from QgsExpressionContextGenerator | |
virtual | ~QgsExpressionContextGenerator ()=default |
Protected Member Functions | |
void | updateButtons () |
Protected Attributes | |
QgsAttributeFormContainerEdit * | mAttributeContainerEdit = nullptr |
QgsAttributeTypeDialog * | mAttributeTypeDialog = nullptr |
QgsAttributeWidgetEdit * | mAttributeWidgetEdit = nullptr |
QgsAttributesDnDTree * | mAvailableWidgetsTree = nullptr |
QgsAttributesDnDTree * | mFormLayoutTree = nullptr |
QLabel * | mInfoTextWidget = nullptr |
QgsVectorLayer * | mLayer = nullptr |
Definition at line 61 of file qgsattributesformproperties.h.
Enumerator | |
---|---|
DnDTreeRole | |
FieldConfigRole | |
FieldNameRole |
Definition at line 67 of file qgsattributesformproperties.h.
|
explicit |
Definition at line 38 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::apply | ( | ) |
Definition at line 844 of file qgsattributesformproperties.cpp.
QgsAttributeEditorElement * QgsAttributesFormProperties::createAttributeEditorWidget | ( | QTreeWidgetItem * | item, |
QgsAttributeEditorElement * | parent, | ||
bool | forceGroup = true |
||
) |
Definition at line 694 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 208 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::init | ( | ) |
Definition at line 80 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::initAvailableWidgetsTree | ( | ) |
Definition at line 90 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::initFormLayoutTree | ( | ) |
Definition at line 174 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::initInitPython | ( | ) |
Definition at line 225 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::initLayoutConfig | ( | ) |
Definition at line 215 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::initSuppressCombo | ( | ) |
Definition at line 192 of file qgsattributesformproperties.cpp.
void QgsAttributesFormProperties::loadRelations | ( | ) |
|
protected |
|
protected |
Definition at line 226 of file qgsattributesformproperties.h.
|
protected |
Definition at line 225 of file qgsattributesformproperties.h.
|
protected |
Definition at line 224 of file qgsattributesformproperties.h.
|
protected |
Definition at line 221 of file qgsattributesformproperties.h.
|
protected |
Definition at line 222 of file qgsattributesformproperties.h.
|
protected |
Definition at line 227 of file qgsattributesformproperties.h.
|
protected |
Definition at line 219 of file qgsattributesformproperties.h.