16 #ifndef QGSEDITFORMCONFIG_P_H
17 #define QGSEDITFORMCONFIG_P_H
26 class 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;
62 QgsEditFormConfig::DataDefinedProperty::Alias,
64 QObject::tr(
"Alias" ),
68 return sPropertyDefinitions;
75 bool mConfiguredRootContainer =
false;
77 QMap< QString, bool> mFieldEditables;
78 QMap< QString, bool> mLabelOnTop;
79 QMap< QString, bool> mReuseLastValue;
80 QMap< QString, QgsPropertyCollection> mDataDefinedFieldProperties;
82 QMap<QString, QVariantMap > mWidgetConfigs;
90 QString mInitFunction;
92 QString mInitFilePath;
104 QgsEditFormConfigPrivate &operator= (
const QgsEditFormConfigPrivate & ) =
delete;
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.