|
QGroundControl
Ground Control Station for MAVLink Drones
|
Provides access to group of settings. More...
#include <SettingsGroup.h>
Inheritance diagram for SettingsGroup:
Collaboration diagram for SettingsGroup:Signals | |
| void | userVisibleChanged () |
Public Member Functions | |
| SettingsGroup (const QString &name, const QString &settingsGroup, QObject *parent=nullptr) | |
| virtual bool | userVisible () |
| virtual void | setUserVisible (bool vis) |
| QString | settingsGroup () const |
Protected Member Functions | |
| SettingsFact * | _createSettingsFact (const QString &factName) |
Protected Attributes | |
| bool | _userVisible |
| QString | _name |
| QString | _settingsGroup |
| QMap< QString, FactMetaData * > | _nameToMetaDataMap |
Provides access to group of settings.
The group is named and has a userVisible property that controls whether the entire group is shown in the UI. Custom builds can hide groups via QGCCorePlugin::overrideSettingsGroupVisibility.
Definition at line 44 of file SettingsGroup.h.
| SettingsGroup::SettingsGroup | ( | const QString & | name, |
| const QString & | settingsGroup, | ||
| QObject * | parent = nullptr |
||
| ) |
| name | Name for this Settings group |
| settingsGroup | Group to place settings in for QSettings::beingGroup |
Definition at line 6 of file SettingsGroup.cc.
References _nameToMetaDataMap, and FactMetaData::createMapFromJsonFile().
|
protected |
Definition at line 17 of file SettingsGroup.cc.
References _name, _nameToMetaDataMap, _settingsGroup, and FactMetaData::label().
|
inline |
Definition at line 60 of file SettingsGroup.h.
References _settingsGroup.
Referenced by QGCCorePlugin::adjustSettingMetaData(), Joystick::setButtonAction(), and Joystick::setButtonRepeat().
|
inlinevirtual |
Definition at line 58 of file SettingsGroup.h.
References _userVisible, and userVisibleChanged().
|
inlinevirtual |
Whether this settings group should be shown in the UI. Custom builds can override this via QGCCorePlugin::overrideSettingsGroupVisibility.
Definition at line 57 of file SettingsGroup.h.
References _userVisible.
|
signal |
Referenced by setUserVisible().
|
protected |
Definition at line 69 of file SettingsGroup.h.
Referenced by _createSettingsFact().
|
protected |
Definition at line 72 of file SettingsGroup.h.
Referenced by _createSettingsFact(), and SettingsGroup().
|
protected |
Definition at line 70 of file SettingsGroup.h.
Referenced by _createSettingsFact(), and settingsGroup().
|
protected |
Definition at line 68 of file SettingsGroup.h.
Referenced by setUserVisible(), and userVisible().