QGIS API Documentation 3.41.0-Master (cea29feecf2)
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 356 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 1073 of file qgsattributesformproperties.cpp.

Member Function Documentation

◆ operator QVariant()

QgsAttributesFormProperties::FieldConfig::operator QVariant ( )

Definition at line 1089 of file qgsattributesformproperties.cpp.

Member Data Documentation

◆ mAlias

QString QgsAttributesFormProperties::FieldConfig::mAlias

Definition at line 368 of file qgsattributesformproperties.h.

◆ mButton

QPushButton* QgsAttributesFormProperties::FieldConfig::mButton = nullptr

Definition at line 365 of file qgsattributesformproperties.h.

◆ mComment

QString QgsAttributesFormProperties::FieldConfig::mComment

Definition at line 370 of file qgsattributesformproperties.h.

◆ mDataDefinedProperties

QgsPropertyCollection QgsAttributesFormProperties::FieldConfig::mDataDefinedProperties

Definition at line 369 of file qgsattributesformproperties.h.

◆ mDuplicatePolicy

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

Definition at line 372 of file qgsattributesformproperties.h.

◆ mEditable

bool QgsAttributesFormProperties::FieldConfig::mEditable = true

Definition at line 361 of file qgsattributesformproperties.h.

◆ mEditorWidgetConfig

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

Definition at line 367 of file qgsattributesformproperties.h.

◆ mEditorWidgetType

QString QgsAttributesFormProperties::FieldConfig::mEditorWidgetType

Definition at line 366 of file qgsattributesformproperties.h.

◆ mFieldConstraints

QgsFieldConstraints QgsAttributesFormProperties::FieldConfig::mFieldConstraints

Definition at line 364 of file qgsattributesformproperties.h.

◆ mLabelOnTop

bool QgsAttributesFormProperties::FieldConfig::mLabelOnTop = false

Definition at line 362 of file qgsattributesformproperties.h.

◆ mReuseLastValues

bool QgsAttributesFormProperties::FieldConfig::mReuseLastValues = false

Definition at line 363 of file qgsattributesformproperties.h.

◆ mSplitPolicy

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

Definition at line 371 of file qgsattributesformproperties.h.


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