/************************************************************************ * This file has been generated automatically from * * * * src/gui/settings/qgssettingseditorwidgetregistry.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsSettingsEditorWidgetRegistry { %Docstring(signature="appended") This class manages editors for settings .. versionadded:: 3.32 %End %TypeHeaderCode #include "qgssettingseditorwidgetregistry.h" %End public: QgsSettingsEditorWidgetRegistry(); %Docstring Constructor %End ~QgsSettingsEditorWidgetRegistry(); bool addWrapper( QgsSettingsEditorWidgetWrapper *wrapper /Transfer/ ); %Docstring Adds a editor to the registry Returns ``False`` if a editor with same id already exists. %End QgsSettingsEditorWidgetWrapper *createWrapper( const QString &id, QObject *parent ) const; %Docstring Returns a new instance of the editor for the given id %End QWidget *createEditor( const QgsSettingsEntryBase *setting, const QStringList &dynamicKeyPartList, QWidget *parent = 0 ) const /Factory/; %Docstring Creates the editor for the given settings using the corresponding registered wrapper %End QMap editorNames() const; %Docstring Returns a map of all registered editors. %End }; /************************************************************************ * This file has been generated automatically from * * * * src/gui/settings/qgssettingseditorwidgetregistry.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/