score::Settings Class Referencefinal
Application-wide user settings registering and handling. More...
Detailed Description
Application-wide user settings registering and handling.
Settings do not fit in the other MVP parts of the software due to the command application difference.
When "ok" is pressed in the settings panel, the plug-ins are required to commit their changes to their respective models. Else they discard them.
A plug-in wishing to add user settings must :
- Implement score::SettingsDelegateModel, score::SettingsDelegatePresenter, score::SettingsDelegateView
- Register them with SCORE_DECLARE_SETTINGS_FACTORY.
Public Member Functions | |
void | setupView () |
void | teardownView () |
Settings (const Settings &)=delete | |
Settings (Settings &&)=delete | |
Settings & | operator= (const Settings &)=delete |
Settings & | operator= (Settings &&)=delete |
void | setupSettingsPlugin (QSettings &s, const score::ApplicationContext &ctx, SettingsDelegateFactory &plugin) |
SettingsView< SettingsDelegateModel > & | view () const |
auto & | settings () const |
The documentation for this class was generated from the following files:
- lib/core/settings/Settings.hpp
- lib/core/settings/Settings.cpp