QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
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
 
Qgis::FieldDuplicatePolicy mDuplicatePolicy = Qgis::FieldDuplicatePolicy::Duplicate
 
bool mEditable = true
 
QMap< QString, QVariant > mEditorWidgetConfig
 
QString mEditorWidgetType
 
QgsFieldConstraints mFieldConstraints
 
bool mLabelOnTop = false
 
bool mReuseLastValues = false
 
Qgis::FieldDomainSplitPolicy mSplitPolicy = Qgis::FieldDomainSplitPolicy::Duplicate
 

Detailed Description

Holds the configuration for a field.

Definition at line 324 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 1077 of file qgsattributesformproperties.cpp.

Member Function Documentation

◆ operator QVariant()

QgsAttributesFormProperties::FieldConfig::operator QVariant ( )

Definition at line 1093 of file qgsattributesformproperties.cpp.

Member Data Documentation

◆ mAlias

QString QgsAttributesFormProperties::FieldConfig::mAlias

Definition at line 336 of file qgsattributesformproperties.h.

◆ mButton

QPushButton* QgsAttributesFormProperties::FieldConfig::mButton = nullptr

Definition at line 333 of file qgsattributesformproperties.h.

◆ mComment

QString QgsAttributesFormProperties::FieldConfig::mComment

Definition at line 338 of file qgsattributesformproperties.h.

◆ mDataDefinedProperties

QgsPropertyCollection QgsAttributesFormProperties::FieldConfig::mDataDefinedProperties

Definition at line 337 of file qgsattributesformproperties.h.

◆ mDuplicatePolicy

Qgis::FieldDuplicatePolicy QgsAttributesFormProperties::FieldConfig::mDuplicatePolicy = Qgis::FieldDuplicatePolicy::Duplicate

Definition at line 340 of file qgsattributesformproperties.h.

◆ mEditable

bool QgsAttributesFormProperties::FieldConfig::mEditable = true

Definition at line 329 of file qgsattributesformproperties.h.

◆ mEditorWidgetConfig

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

Definition at line 335 of file qgsattributesformproperties.h.

◆ mEditorWidgetType

QString QgsAttributesFormProperties::FieldConfig::mEditorWidgetType

Definition at line 334 of file qgsattributesformproperties.h.

◆ mFieldConstraints

QgsFieldConstraints QgsAttributesFormProperties::FieldConfig::mFieldConstraints

Definition at line 332 of file qgsattributesformproperties.h.

◆ mLabelOnTop

bool QgsAttributesFormProperties::FieldConfig::mLabelOnTop = false

Definition at line 330 of file qgsattributesformproperties.h.

◆ mReuseLastValues

bool QgsAttributesFormProperties::FieldConfig::mReuseLastValues = false

Definition at line 331 of file qgsattributesformproperties.h.

◆ mSplitPolicy

Qgis::FieldDomainSplitPolicy QgsAttributesFormProperties::FieldConfig::mSplitPolicy = Qgis::FieldDomainSplitPolicy::Duplicate

Definition at line 339 of file qgsattributesformproperties.h.


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