| 
    QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
    
   | 
 
#include <qgsattributesformproperties.h>

Classes | |
| class | DnDTreeItemData | 
| struct | FieldConfig | 
| Holds the configuration for a field.  More... | |
| struct | HtmlElementEditorConfiguration | 
| struct | QmlElementEditorConfiguration | 
| struct | RelationEditorConfiguration | 
| struct | SpacerElementEditorConfiguration | 
| struct | TextElementEditorConfiguration | 
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 isTopLevel=false) | 
| Creates a new attribute editor element based on the definition stored in item.  More... | |
| 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 | 
| virtual QgsExpressionContext | createExpressionContext () const =0 | 
| This method needs to be reimplemented in all classes which implement this interface and return an expression context.  More... | |
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 53 of file qgsattributesformproperties.h.
| Enumerator | |
|---|---|
| DnDTreeRole | |
| FieldConfigRole | |
| FieldNameRole | |
Definition at line 59 of file qgsattributesformproperties.h.
      
  | 
  explicit | 
Definition at line 42 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::apply | ( | ) | 
Definition at line 936 of file qgsattributesformproperties.cpp.
| QgsAttributeEditorElement * QgsAttributesFormProperties::createAttributeEditorWidget | ( | QTreeWidgetItem * | item, | 
| QgsAttributeEditorElement * | parent, | ||
| bool | isTopLevel = false  | 
        ||
| ) | 
Creates a new attribute editor element based on the definition stored in item.
Definition at line 758 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 221 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::init | ( | ) | 
Definition at line 84 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initAvailableWidgetsTree | ( | ) | 
Definition at line 94 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initFormLayoutTree | ( | ) | 
Definition at line 187 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initInitPython | ( | ) | 
Definition at line 238 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initLayoutConfig | ( | ) | 
Definition at line 228 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initSuppressCombo | ( | ) | 
Definition at line 205 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::loadRelations | ( | ) | 
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 378 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 377 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 376 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 373 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 374 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 379 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 371 of file qgsattributesformproperties.h.