QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | Public Attributes | List of all members
QgsAttributesFormProperties::FieldConfig Struct Reference

Holds the configuration for a field. More...

#include <qgsattributesformproperties.h>

Public Member Functions

 FieldConfig ()=default
 
 FieldConfig (QgsVectorLayer *layer, int idx)
 
 operator QVariant ()
 

Public Attributes

QString mAlias
 
QPushButton * mButton = nullptr
 
QString mComment
 
QgsPropertyCollection mDataDefinedProperties
 
bool mEditable = true
 
bool mEditableEnabled = true
 
QMap< QString, QVariant > mEditorWidgetConfig
 
QString mEditorWidgetType
 
QgsFieldConstraints mFieldConstraints
 
bool mLabelOnTop = false
 
bool mReuseLastValues = false
 

Detailed Description

Holds the configuration for a field.

Definition at line 176 of file qgsattributesformproperties.h.

Constructor & Destructor Documentation

◆ FieldConfig() [1/2]

QgsAttributesFormProperties::FieldConfig::FieldConfig ( )
default

◆ FieldConfig() [2/2]

QgsAttributesFormProperties::FieldConfig::FieldConfig ( QgsVectorLayer layer,
int  idx 
)

Definition at line 961 of file qgsattributesformproperties.cpp.

Member Function Documentation

◆ operator QVariant()

QgsAttributesFormProperties::FieldConfig::operator QVariant ( )

Definition at line 977 of file qgsattributesformproperties.cpp.

Member Data Documentation

◆ mAlias

QString QgsAttributesFormProperties::FieldConfig::mAlias

Definition at line 189 of file qgsattributesformproperties.h.

◆ mButton

QPushButton* QgsAttributesFormProperties::FieldConfig::mButton = nullptr

Definition at line 186 of file qgsattributesformproperties.h.

◆ mComment

QString QgsAttributesFormProperties::FieldConfig::mComment

Definition at line 191 of file qgsattributesformproperties.h.

◆ mDataDefinedProperties

QgsPropertyCollection QgsAttributesFormProperties::FieldConfig::mDataDefinedProperties

Definition at line 190 of file qgsattributesformproperties.h.

◆ mEditable

bool QgsAttributesFormProperties::FieldConfig::mEditable = true

Definition at line 181 of file qgsattributesformproperties.h.

◆ mEditableEnabled

bool QgsAttributesFormProperties::FieldConfig::mEditableEnabled = true

Definition at line 182 of file qgsattributesformproperties.h.

◆ mEditorWidgetConfig

QMap<QString, QVariant> QgsAttributesFormProperties::FieldConfig::mEditorWidgetConfig

Definition at line 188 of file qgsattributesformproperties.h.

◆ mEditorWidgetType

QString QgsAttributesFormProperties::FieldConfig::mEditorWidgetType

Definition at line 187 of file qgsattributesformproperties.h.

◆ mFieldConstraints

QgsFieldConstraints QgsAttributesFormProperties::FieldConfig::mFieldConstraints

Definition at line 185 of file qgsattributesformproperties.h.

◆ mLabelOnTop

bool QgsAttributesFormProperties::FieldConfig::mLabelOnTop = false

Definition at line 183 of file qgsattributesformproperties.h.

◆ mReuseLastValues

bool QgsAttributesFormProperties::FieldConfig::mReuseLastValues = false

Definition at line 184 of file qgsattributesformproperties.h.


The documentation for this struct was generated from the following files: