mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-07 00:03:52 -05:00
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
/************************************************************************
|
|
* 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<QString, QString> editorNames() const;
|
|
%Docstring
|
|
Returns a map <name, id> 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 *
|
|
************************************************************************/
|