16#ifndef QGSSETTINGSTREENODE_H 
   17#define QGSSETTINGSTREENODE_H 
   50      sipType = sipType_QgsSettingsTreeNamedListNode;
 
   52      sipType = sipType_QgsSettingsTreeNode;
 
  103    void unregisterChildSetting( 
const QgsSettingsEntryBase *setting, 
bool deleteSettingValues = 
false, 
const QStringList &parentsNamedItems = QStringList() );
 
  124    QString 
key()
 const {
return mKey;}
 
  133    SIP_PYOBJECT __repr__();
 
  135    const QMetaEnum metaEnum = QMetaEnum::fromType<Qgis::SettingsTreeNodeType>();
 
  137    QString str = QStringLiteral( 
"<QgsSettingsTreeNode (%1): %2>" ).arg( metaEnum.valueToKey( 
static_cast<int>( sipCpp->type() ) ), sipCpp->key() );
 
  138    sipRes = PyUnicode_FromString( str.toUtf8().constData() );
 
  168    QList<QgsSettingsTreeNode *> mChildrenNodes;
 
  169    QList<const QgsSettingsEntryBase *> mChildrenSettings;
 
  173    QString mCompleteKey;
 
  174    int mNamedNodesCount = 0;
 
 
  266    QString completeKeyWithNamedItems( const QString &key, const QStringList &namedItems ) const;
 
  268    Qgis::SettingsTreeNodeOptions mOptions;
 
  270    QString mItemsCompleteKey;
 
 
Provides global constants and enumerations for use throughout the application.
SettingsTreeNodeType
Type of tree node.
QFlags< SettingsTreeNodeOption > SettingsTreeNodeOptions
SettingsOrigin
The setting origin describes where a setting is stored.
Represents a settings entry and provides methods for reading and writing settings values.
Custom exception class for settings related exceptions.
A named list tree node for the settings tree to help organizing and introspecting the tree.
const QgsSettingsEntryString * selectedItemSetting() const
Returns the setting used to store the selected item.
A tree node for the settings tree to help organizing and introspecting the tree.
QList< const QgsSettingsEntryBase * > childrenSettings() const
Returns the children settings.
QList< QgsSettingsTreeNode * > childrenNodes() const
Returns the children nodes.
Qgis::SettingsTreeNodeType type() const
Returns the type of node.
QString completeKey() const
Returns the complete key of the node (including its parents)
int namedNodesCount() const
Returns the number of named nodes in the complete key.
QString key() const
Returns the key of the node (without its parents)
QgsSettingsTreeNode * parent() const
Returns the parent of the node or nullptr if it does not exists.
Holds the tree structure for the settings in QGIS core.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
#define SIP_KEEPREFERENCE
#define SIP_THROW(name,...)