Manager for collections of settings.
More...
#include <iADefaultSettings.h>
|
| static bool | add (QString const &name, iAAttributes *attributes) |
| | Register a new list of default settings.
|
| |
| static void | editDefaultSettings (QWidget *parent, QString const &fullName) |
| | edit the default settings for a given name
|
| |
| static iASettingsMap const & | getMap () |
| | Retrieve a map of all registered default settings.
|
| |
| static void | init () |
| | Initialize default settings (load stored values, and create menu entry for modifying them)
|
| |
| static void | store () |
| | Store default settings.
|
| |
Manager for collections of settings.
You can add a collection of settings (iAAttributes) under a name. This class will store and load default values for these attributes; additionally, a menu entry will be created for each registered settings collection. Use iASettingsObject for making sure the registration will happen early during program startup.
◆ iASettingsMap
◆ add()
| bool iASettingsManager::add |
( |
QString const & | name, |
|
|
iAAttributes * | attributes ) |
|
static |
Register a new list of default settings.
◆ editDefaultSettings()
| void iASettingsManager::editDefaultSettings |
( |
QWidget * | parent, |
|
|
QString const & | fullName ) |
|
static |
edit the default settings for a given name
◆ getMap()
Retrieve a map of all registered default settings.
◆ init()
| void iASettingsManager::init |
( |
| ) |
|
|
static |
Initialize default settings (load stored values, and create menu entry for modifying them)
◆ store()
| void iASettingsManager::store |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: