#include "iaguibase_export.h"
#include <QCheckBox>
#include <QLineEdit>
#include <QRadioButton>
#include <QSettings>
|
| iAguibase_API void | loadSettings (QVariantMap const &settings, iAWidgetMap const &settingsWidgetMap) |
| | Takes values from given settings object and applies them to the respective widget mapped to in the given settings-widget-map.
|
| |
| iAguibase_API void | saveSettings (QSettings &settings, iAWidgetMap const &settingsWidgetMap) |
| | Looks at the current value of the GUI elements given in the settings-widget-map, and stores it under the respective keys in the settings object.
|
| |
| iAguibase_API void | saveSettings (QVariantMap &settings, iAWidgetMap const &settingsWidgetMap) |
| | Looks at the current value of the GUI elements given in the settings-widget-map, and stores it under the respective keys in the settings object.
|
| |
◆ iAWidgetMap
◆ loadSettings()
| iAguibase_API void loadSettings |
( |
QVariantMap const & | settings, |
|
|
iAWidgetMap const & | settingsWidgetMap ) |
Takes values from given settings object and applies them to the respective widget mapped to in the given settings-widget-map.
- Parameters
-
| settings | a hash map containing one key-value pair per setting stored in it |
| settingsWidgetMap | maps from a settings key to the widget which represents this setting in the GUI |
◆ saveSettings() [1/2]
| iAguibase_API void saveSettings |
( |
QSettings & | settings, |
|
|
iAWidgetMap const & | settingsWidgetMap ) |
Looks at the current value of the GUI elements given in the settings-widget-map, and stores it under the respective keys in the settings object.
- Parameters
-
| settings | a QSettings object for storing the values from the GUI. |
| settingsWidgetMap | maps from a settings key to the widget which represents this setting in the GUI. |
◆ saveSettings() [2/2]
| iAguibase_API void saveSettings |
( |
QVariantMap & | settings, |
|
|
iAWidgetMap const & | settingsWidgetMap ) |
Looks at the current value of the GUI elements given in the settings-widget-map, and stores it under the respective keys in the settings object.
- Parameters
-
| settings | a hash map for storing the values from the GUI. |
| settingsWidgetMap | maps from a settings key to the widget which represents this setting in the GUI. |