One level of a schema, stored in app::Settings. More...
| Header: | #include <SettingsStore> |
| Inherits: | QObject and config::IStore |
Every app-level value goes through `app::Settings` (settings-compliance §SPC). The store is generalized from Construct's `AppSeedStore` and obeys four facts about `app::Settings` (config-ui §CFGM-6):
The INI back end returns strings. get() converts each value to the type of its default, as `AppSeedStore` did, and the resolver then validates.
A `Color` value is stored as its name: `#rrggbb`, or `#aarrggbb` when the color is not opaque. A QColor written as a variant is `@Variant(...)` binary text in the INI file, which no one can read or edit, and the RTS lobby wrote the same keys as names. get() gives a QColor back for a name and for an old `@Variant` value.