|
open_iA 2024.7
|
Manager for collections of settings. More...
#include <iADefaultSettings.h>
Public Types | |
| using | iASettingsMap = QMap<QString, iAAttributes*> |
Static Public Member Functions | |
| 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.
| using iASettingsManager::iASettingsMap = QMap<QString, iAAttributes*> |
|
static |
Register a new list of default settings.
|
static |
edit the default settings for a given name
|
static |
Retrieve a map of all registered default settings.
|
static |
Initialize default settings (load stored values, and create menu entry for modifying them)
|
static |
Store default settings.