QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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 239 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 975 of file qgsattributesformproperties.cpp.

Member Function Documentation

◆ operator QVariant()

QgsAttributesFormProperties::FieldConfig::operator QVariant ( )

Definition at line 991 of file qgsattributesformproperties.cpp.

Member Data Documentation

◆ mAlias

QString QgsAttributesFormProperties::FieldConfig::mAlias

Definition at line 252 of file qgsattributesformproperties.h.

◆ mButton

QPushButton* QgsAttributesFormProperties::FieldConfig::mButton = nullptr

Definition at line 249 of file qgsattributesformproperties.h.

◆ mComment

QString QgsAttributesFormProperties::FieldConfig::mComment

Definition at line 254 of file qgsattributesformproperties.h.

◆ mDataDefinedProperties

QgsPropertyCollection QgsAttributesFormProperties::FieldConfig::mDataDefinedProperties

Definition at line 253 of file qgsattributesformproperties.h.

◆ mEditable

bool QgsAttributesFormProperties::FieldConfig::mEditable = true

Definition at line 244 of file qgsattributesformproperties.h.

◆ mEditableEnabled

bool QgsAttributesFormProperties::FieldConfig::mEditableEnabled = true

Definition at line 245 of file qgsattributesformproperties.h.

◆ mEditorWidgetConfig

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

Definition at line 251 of file qgsattributesformproperties.h.

◆ mEditorWidgetType

QString QgsAttributesFormProperties::FieldConfig::mEditorWidgetType

Definition at line 250 of file qgsattributesformproperties.h.

◆ mFieldConstraints

QgsFieldConstraints QgsAttributesFormProperties::FieldConfig::mFieldConstraints

Definition at line 248 of file qgsattributesformproperties.h.

◆ mLabelOnTop

bool QgsAttributesFormProperties::FieldConfig::mLabelOnTop = false

Definition at line 246 of file qgsattributesformproperties.h.

◆ mReuseLastValues

bool QgsAttributesFormProperties::FieldConfig::mReuseLastValues = false

Definition at line 247 of file qgsattributesformproperties.h.


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