16 #ifndef QGSEDITFORMCONFIG_P_H
17 #define QGSEDITFORMCONFIG_P_H
25 class QgsEditFormConfigPrivate :
public QSharedData
28 QgsEditFormConfigPrivate()
32 QgsEditFormConfigPrivate(
const QgsEditFormConfigPrivate &o )
35 , mConfiguredRootContainer( o.mConfiguredRootContainer )
36 , mFieldEditables( o.mFieldEditables )
37 , mLabelOnTop( o.mLabelOnTop )
38 , mDataDefinedFieldProperties( o.mDataDefinedFieldProperties )
39 , mWidgetConfigs( o.mWidgetConfigs )
40 , mEditorLayout( o.mEditorLayout )
41 , mUiFormPath( o.mUiFormPath )
42 , mInitFunction( o.mInitFunction )
43 , mInitFilePath( o.mInitFilePath )
44 , mInitCodeSource( o.mInitCodeSource )
45 , mInitCode( o.mInitCode )
46 , mSuppressForm( o.mSuppressForm )
47 , mFields( o.mFields )
50 ~QgsEditFormConfigPrivate()
52 delete mInvisibleRootContainer;
60 QgsEditFormConfig::DataDefinedProperty::Alias,
62 QObject::tr(
"Alias" ),
66 return sPropertyDefinitions;
73 bool mConfiguredRootContainer =
false;
75 QMap< QString, bool> mFieldEditables;
76 QMap< QString, bool> mLabelOnTop;
77 QMap< QString, QgsPropertyCollection> mDataDefinedFieldProperties;
79 QMap<QString, QVariantMap > mWidgetConfigs;
87 QString mInitFunction;
89 QString mInitFilePath;
101 QgsEditFormConfigPrivate &operator= (
const QgsEditFormConfigPrivate & ) =
delete;
107 #endif // QGSEDITFORMCONFIG_P_H