![]() |
nsbaci 1.0
|
A dialog that allows the user to configure application preferences. More...
#include <preferencesDialog.h>


Signals | |
| void | preferencesChanged (const nsbaci::ui::Preferences &prefs) |
| Emitted when the user accepts the dialog with changed preferences. | |
Public Member Functions | |
| PreferencesDialog (const Preferences ¤t, QWidget *parent=nullptr) | |
| Preferences | result () const |
| Returns the (possibly modified) preferences after the dialog is accepted. | |
Static Public Member Functions | |
| static Preferences | load () |
| Load preferences from QSettings. | |
| static void | save (const Preferences &prefs) |
| Save preferences to QSettings. | |
A dialog that allows the user to configure application preferences.
Features a side menu for browsing preference categories and a stacked panel on the right that shows the appropriate settings widgets for each category. Changes are persisted to QSettings on accept.
|
signal |
Emitted when the user accepts the dialog with changed preferences.
| prefs | The new preference values. |