QGIS API Documentation 3.43.0-Master (56aa1fd18d7)
Classes | Public Types | List of all members
QgsAttributesFormData Class Reference

Describes editor data contained in a QgsAttributesFormModel. More...

#include <qgsattributesformmodel.h>

Classes

class  AttributeFormItemData
 Main class to store and transfer editor data contained in a QgsAttributesFormModel. More...
 
struct  FieldConfig
 Holds the configuration for a field. More...
 
struct  HtmlElementEditorConfiguration
 
struct  QmlElementEditorConfiguration
 
struct  RelationEditorConfiguration
 
struct  SpacerElementEditorConfiguration
 
struct  TextElementEditorConfiguration
 

Public Types

enum  AttributesFormItemType {
  Field , Relation , Container , QmlWidget ,
  HtmlWidget , WidgetType , Action , TextWidget ,
  SpacerWidget
}
 Custom item types. More...
 

Detailed Description

Describes editor data contained in a QgsAttributesFormModel.

Warning
Not part of stable API and may change in future QGIS releases.
Note
Prior to QGIS 3.44 this was available as QgsAttributesFormProperties
Since
QGIS 3.44

Definition at line 39 of file qgsattributesformmodel.h.

Member Enumeration Documentation

◆ AttributesFormItemType

Custom item types.

Note
Prior to QGIS 3.44 this was available as QgsAttributesFormProperties::DnDTreeItemData::Type
Since
QGIS 3.44
Enumerator
Field 

Vector layer field.

Relation 

Relation between two vector layers.

Container 

Container for the form, which may be tab, group or row.

QmlWidget 

QML widget.

HtmlWidget 

HTML widget.

WidgetType 

In the available widgets tree, the type of widget.

Action 

Layer action.

TextWidget 

Text widget type,.

Since
QGIS 3.30
SpacerWidget 

Spacer widget type,.

Since
QGIS 3.30

Definition at line 48 of file qgsattributesformmodel.h.


The documentation for this class was generated from the following file: