16#ifndef QGSEDITFORMCONFIG_P_H
17#define QGSEDITFORMCONFIG_P_H
26class QgsEditFormConfigPrivate :
public QSharedData
29 QgsEditFormConfigPrivate()
33 QgsEditFormConfigPrivate(
const QgsEditFormConfigPrivate &o )
36 , mConfiguredRootContainer( o.mConfiguredRootContainer )
37 , mFieldEditables( o.mFieldEditables )
38 , mLabelOnTop( o.mLabelOnTop )
39 , mReuseLastValue( o.mReuseLastValue )
40 , mDataDefinedFieldProperties( o.mDataDefinedFieldProperties )
41 , mWidgetConfigs( o.mWidgetConfigs )
42 , mEditorLayout( o.mEditorLayout )
43 , mUiFormPath( o.mUiFormPath )
44 , mInitFunction( o.mInitFunction )
45 , mInitFilePath( o.mInitFilePath )
46 , mInitCodeSource( o.mInitCodeSource )
47 , mInitCode( o.mInitCode )
48 , mSuppressForm( o.mSuppressForm )
49 , mFields( o.mFields )
52 ~QgsEditFormConfigPrivate()
54 delete mInvisibleRootContainer;
64 QObject::tr(
"Alias" ),
70 QObject::tr(
"Editable" ),
74 return sPropertyDefinitions;
81 bool mConfiguredRootContainer =
false;
83 QMap< QString, bool> mFieldEditables;
84 QMap< QString, bool> mLabelOnTop;
85 QMap< QString, bool> mReuseLastValue;
86 QMap< QString, QgsPropertyCollection> mDataDefinedFieldProperties;
88 QMap<QString, QVariantMap > mWidgetConfigs;
96 QString mInitFunction;
98 QString mInitFilePath;
110 QgsEditFormConfigPrivate &operator= (
const QgsEditFormConfigPrivate & ) =
delete;
AttributeFormSuppression
Available form types for layout of the attribute form editor.
@ Default
Use the application-wide setting.
AttributeFormPythonInitCodeSource
The Python init code source for attribute forms.
@ NoSource
Do not use Python code at all.
AttributeFormLayout
Available form types for layout of the attribute form editor.
@ AutoGenerated
Autogenerate a simple tabular layout for the form.
This is a container for attribute editors, used to group them visually in the attribute form if it is...
Container of fields for a vector layer.
Definition for a property.
@ String
Any string value.
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.