/************************************************************************ * This file has been generated automatically from * * * * src/gui/settings/qgssettingseditorwidgetwrapperimpl.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/ template class QgsSettingsEditorWidgetWrapperTemplate : QgsSettingsEditorWidgetWrapper { %Docstring(signature="appended") Base factory for editors for settings. .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" %End public: QgsSettingsEditorWidgetWrapperTemplate( QObject *parent = 0 ); %Docstring Constructor %End virtual QString id() const = 0; virtual bool setWidgetFromSetting() const; virtual bool setSettingFromWidget() const = 0; virtual bool setWidgetFromVariant( const QVariant &value ) const; virtual bool setWidgetValue( const U &value ) const = 0; %Docstring Sets the widget value %End virtual QVariant variantValueFromWidget() const; virtual U valueFromWidget() const = 0; %Docstring Returns the widget value %End V *editor() const; %Docstring Returns the editor %End const T *setting() const; %Docstring Returns the setting %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const = 0; protected: virtual QWidget *createEditorPrivate( QWidget *parent = 0 ) const; virtual bool configureEditorPrivate( QWidget *editor, const QgsSettingsEntryBase *setting ); virtual void configureEditorPrivateImplementation(); %Docstring To be re-implemented to implemeent type specific configuration (e.g. opacity for colors) %End }; typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQLineEditQStringBase /NoTypeName/; class QgsSettingsStringLineEditWrapper : QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQLineEditQStringBase { %Docstring(signature="appended") A factory for editors for string settings with a line edit. .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQLineEditQStringBase; %End public: QgsSettingsStringLineEditWrapper( QObject *parent = 0 ); %Docstring Constructor of the factory %End QgsSettingsStringLineEditWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const; virtual QString id() const; virtual bool setSettingFromWidget() const; virtual QString valueFromWidget() const; virtual bool setWidgetValue( const QString &value ) const; virtual void enableAutomaticUpdatePrivate(); }; typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQComboBoxQStringBase /NoTypeName/; class QgsSettingsStringComboBoxWrapper : QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQComboBoxQStringBase { %Docstring(signature="appended") A factory for editors of string settings with a combo box. .. versionadded:: 3.40 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQComboBoxQStringBase; %End public: enum class Mode /BaseType=IntEnum/ { Text, Data }; QgsSettingsStringComboBoxWrapper( QObject *parent = 0 ); %Docstring Constructor of the factory %End QgsSettingsStringComboBoxWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End QgsSettingsStringComboBoxWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, Mode mode, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End QgsSettingsStringComboBoxWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, Mode mode, int role, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const; virtual QString id() const; virtual bool setSettingFromWidget() const; virtual QString valueFromWidget() const; virtual bool setWidgetValue( const QString &value ) const; virtual void enableAutomaticUpdatePrivate(); }; typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryBoolQCheckBoxboolBase /NoTypeName/; class QgsSettingsBoolCheckBoxWrapper : QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryBoolQCheckBoxboolBase { %Docstring(signature="appended") A factory for editors of boolean settings with a checkbox. .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryBoolQCheckBoxboolBase; %End public: QgsSettingsBoolCheckBoxWrapper( QObject *parent = 0 ); %Docstring Constructor of the factory %End QgsSettingsBoolCheckBoxWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const; virtual QString id() const; virtual bool setSettingFromWidget() const; virtual bool valueFromWidget() const; virtual bool setWidgetValue( const bool &value ) const; virtual void enableAutomaticUpdatePrivate(); }; typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase /NoTypeName/; class QgsSettingsIntegerSpinBoxWrapper : QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase { %Docstring(signature="appended") A factory for editors for integer settings with a spin box. .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase; %End public: QgsSettingsIntegerSpinBoxWrapper( QObject *parent = 0 ); %Docstring Constructor of the factory %End QgsSettingsIntegerSpinBoxWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const; virtual QString id() const; virtual bool setSettingFromWidget() const; virtual int valueFromWidget() const; virtual bool setWidgetValue( const int &value ) const; virtual void enableAutomaticUpdatePrivate(); }; typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase /NoTypeName/; class QgsSettingsDoubleSpinBoxWrapper : QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase { %Docstring(signature="appended") A factory for editors for double settings with a double spin box. .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase; %End public: QgsSettingsDoubleSpinBoxWrapper( QObject *parent = 0 ); %Docstring Constructor of the factory %End QgsSettingsDoubleSpinBoxWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const; virtual QString id() const; virtual bool setSettingFromWidget() const; virtual double valueFromWidget() const; virtual bool setWidgetValue( const double &value ) const; virtual void enableAutomaticUpdatePrivate(); }; typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryColorQgsColorButtonQColorBase /NoTypeName/; class QgsSettingsColorButtonWrapper : QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryColorQgsColorButtonQColorBase { %Docstring(signature="appended") A factory for editors of color settings with a color button. .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetwrapperimpl.h" typedef QgsSettingsEditorWidgetWrapperTemplate QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryColorQgsColorButtonQColorBase; %End public: QgsSettingsColorButtonWrapper( QObject *parent = 0 ); %Docstring Constructor of the factory %End QgsSettingsColorButtonWrapper( QWidget *editor, const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList = QStringList() ); %Docstring Constructor of the wrapper for a given ``setting`` and its widget ``editor`` %End virtual QgsSettingsEditorWidgetWrapper *createWrapper( QObject *parent = 0 ) const; virtual QString id() const; virtual bool setSettingFromWidget() const; virtual QColor valueFromWidget() const; virtual bool setWidgetValue( const QColor &value ) const; virtual void configureEditorPrivateImplementation(); virtual void enableAutomaticUpdatePrivate(); }; /************************************************************************ * This file has been generated automatically from * * * * src/gui/settings/qgssettingseditorwidgetwrapperimpl.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/