|
open_iA 2024.7
|
#include "iAWidgetSettingsMapper.h"#include <iAFileChooserWidget.h>#include <iALog.h>#include <QComboBox>#include <QDoubleSpinBox>#include <QPushButton>#include <QSlider>#include <QSpinBox>Classes | |
| class | iAInternalSettingsWrapper |
| Interface for setting (key, value) pairs in a data collection. More... | |
| class | iAQSettingsWrapper |
| Wrapper for setting (key, value) pairs in a QSettings object using the iAInternalSettingsWrapper interface. More... | |
| class | iASettingsWrapper |
| Wrapper for setting (key, value) pairs in a QVariantMap using the iAInternalSettingsWrapper interface. More... | |
Functions | |
| void | internalSaveSettings (iAInternalSettingsWrapper &settings, iAWidgetMap const &settingsWidgetMap) |
| 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. | |
| 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. | |
| 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. | |
| void internalSaveSettings | ( | iAInternalSettingsWrapper & | settings, |
| iAWidgetMap const & | settingsWidgetMap ) |
| 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.
| 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 |
| 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.
| 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. |
| 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.
| 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. |