QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
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 277 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 1032 of file qgsattributesformproperties.cpp.

Member Function Documentation

◆ operator QVariant()

QgsAttributesFormProperties::FieldConfig::operator QVariant ( )

Definition at line 1048 of file qgsattributesformproperties.cpp.

Member Data Documentation

◆ mAlias

QString QgsAttributesFormProperties::FieldConfig::mAlias

Definition at line 290 of file qgsattributesformproperties.h.

◆ mButton

QPushButton* QgsAttributesFormProperties::FieldConfig::mButton = nullptr

Definition at line 287 of file qgsattributesformproperties.h.

◆ mComment

QString QgsAttributesFormProperties::FieldConfig::mComment

Definition at line 292 of file qgsattributesformproperties.h.

◆ mDataDefinedProperties

QgsPropertyCollection QgsAttributesFormProperties::FieldConfig::mDataDefinedProperties

Definition at line 291 of file qgsattributesformproperties.h.

◆ mEditable

bool QgsAttributesFormProperties::FieldConfig::mEditable = true

Definition at line 282 of file qgsattributesformproperties.h.

◆ mEditableEnabled

bool QgsAttributesFormProperties::FieldConfig::mEditableEnabled = true

Definition at line 283 of file qgsattributesformproperties.h.

◆ mEditorWidgetConfig

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

Definition at line 289 of file qgsattributesformproperties.h.

◆ mEditorWidgetType

QString QgsAttributesFormProperties::FieldConfig::mEditorWidgetType

Definition at line 288 of file qgsattributesformproperties.h.

◆ mFieldConstraints

QgsFieldConstraints QgsAttributesFormProperties::FieldConfig::mFieldConstraints

Definition at line 286 of file qgsattributesformproperties.h.

◆ mLabelOnTop

bool QgsAttributesFormProperties::FieldConfig::mLabelOnTop = false

Definition at line 284 of file qgsattributesformproperties.h.

◆ mReuseLastValues

bool QgsAttributesFormProperties::FieldConfig::mReuseLastValues = false

Definition at line 285 of file qgsattributesformproperties.h.


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