Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #42860 from domi4484/settingsRegistryQep124PartTwo
Settings registry (QEP 124) part two settings introspection
- Loading branch information
Showing
23 changed files
with
599 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
python/core/auto_generated/settings/qgssettingsregistry.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/settings/qgssettingsregistry.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsSettingsRegistry | ||
{ | ||
%Docstring(signature="appended") | ||
:py:class:`QgsSettingsRegistry` is used for settings introspection and collects a | ||
list of child :py:class:`QgsSettingsRegistry` and a list of child :py:class:`QgsSettingsRegistry` | ||
|
||
.. versionadded:: 3.20 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgssettingsregistry.h" | ||
%End | ||
public: | ||
|
||
QgsSettingsRegistry(); | ||
%Docstring | ||
Constructor for QgsSettingsRegistry. | ||
%End | ||
|
||
virtual ~QgsSettingsRegistry(); | ||
|
||
QList<const QgsSettingsEntryBase *> getChildSettingsEntries() const; | ||
%Docstring | ||
Returns the list of registered :py:class:`QgsSettingsEntryBase`. | ||
%End | ||
|
||
const QgsSettingsEntryBase *getSettingsEntry( const QString &key, bool searchChildRegistries = true ) const; | ||
%Docstring | ||
Returns the :py:class:`QgsSettingsEntry` with the given ``key`` or None if not found. | ||
|
||
The ``searchChildRegistries`` parameter specifies if child registries should be included in the search | ||
%End | ||
|
||
void appendRegistry( const QgsSettingsRegistry *settingsRegistry ); | ||
%Docstring | ||
Append a child ``settingsRegistry`` to the register. | ||
%End | ||
|
||
QList<const QgsSettingsRegistry *> getChildSettingsRegistries() const; | ||
%Docstring | ||
Returns the list of registered child QgsSettingsRegistry. | ||
%End | ||
|
||
protected: | ||
|
||
void addSettingsEntry( const QgsSettingsEntryBase *settingsEntry ); | ||
%Docstring | ||
Add ``settingsEntry`` to the register. | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/settings/qgssettingsregistry.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.