Marble::GeoSceneSettings
#include <GeoSceneSettings.h>
Signals | |
void | valueChanged (const QString &, bool) |
Detailed Description
Settings of a GeoScene document.
Definition at line 30 of file GeoSceneSettings.h.
Constructor & Destructor Documentation
◆ GeoSceneSettings()
Marble::GeoSceneSettings::GeoSceneSettings | ( | ) |
Definition at line 33 of file GeoSceneSettings.cpp.
◆ ~GeoSceneSettings()
|
override |
Definition at line 38 of file GeoSceneSettings.cpp.
Member Function Documentation
◆ addGroup()
void Marble::GeoSceneSettings::addGroup | ( | GeoSceneGroup * | group | ) |
Add a group to the settings.
- Parameters
-
group the new group
Definition at line 156 of file GeoSceneSettings.cpp.
◆ addProperty()
void Marble::GeoSceneSettings::addProperty | ( | GeoSceneProperty * | property | ) |
Add a property to the settings.
- Parameters
-
property the new property
Definition at line 204 of file GeoSceneSettings.cpp.
◆ allProperties() [1/2]
QVector< GeoSceneProperty * > Marble::GeoSceneSettings::allProperties | ( | ) |
Get the whole list of properties stored in the settings.
Definition at line 123 of file GeoSceneSettings.cpp.
◆ allProperties() [2/2]
QVector< const GeoSceneProperty * > Marble::GeoSceneSettings::allProperties | ( | ) | const |
Get the whole list of properties stored in the settings.
Definition at line 138 of file GeoSceneSettings.cpp.
◆ group() [1/2]
GeoSceneGroup * Marble::GeoSceneSettings::group | ( | const QString & | name | ) |
Definition at line 199 of file GeoSceneSettings.cpp.
◆ group() [2/2]
const GeoSceneGroup * Marble::GeoSceneSettings::group | ( | const QString & | name | ) | const |
Get a group from the settings.
- Parameters
-
name the name of the group
Definition at line 181 of file GeoSceneSettings.cpp.
◆ nodeType()
|
overridevirtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoNode.
Definition at line 43 of file GeoSceneSettings.cpp.
◆ property() [1/2]
GeoSceneProperty * Marble::GeoSceneSettings::property | ( | const QString & | name | ) |
Definition at line 248 of file GeoSceneSettings.cpp.
◆ property() [2/2]
const GeoSceneProperty * Marble::GeoSceneSettings::property | ( | const QString & | name | ) | const |
Get a property from the settings.
- Parameters
-
name the name of the property
Definition at line 230 of file GeoSceneSettings.cpp.
◆ propertyAvailable()
Get the availability of a property across groups.
- Parameters
-
name the property name available availability of the property
- Returns
true
the property was registered across groupsfalse
the property wasn't registered across groups
Definition at line 48 of file GeoSceneSettings.cpp.
◆ propertyValue()
Get the value of a property across groups.
- Parameters
-
name the property name value the value of the property
- Returns
true
the property was found and returned accordinglyfalse
the property couldn't be found in this group
Definition at line 98 of file GeoSceneSettings.cpp.
◆ rootProperties()
QVector< GeoSceneProperty * > Marble::GeoSceneSettings::rootProperties | ( | ) |
Get the properties that are categorized into groups.
NOTE: If you want all the properties distributed among groups then please use: QVector<GeoSceneProperty*> allProperties().
Definition at line 254 of file GeoSceneSettings.cpp.
◆ setPropertyValue()
Set the value of a property across groups.
- Parameters
-
name the property name value the value of the property
- Returns
true
the property was found and changed accordinglyfalse
the property couldn't be found here
Definition at line 73 of file GeoSceneSettings.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:18 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.