LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
A common dialog to select storage backend. More...
#include "backendselector.h"
Public Slots | |
void | accept () |
Updates the settings manager. More... | |
void | reject () |
Restores the settings in UI. More... | |
Public Member Functions | |
BackendSelector (BaseSettingsManager *manager, QWidget *parent=nullptr) | |
Constructs the BackendSelector. More... | |
~BackendSelector () override | |
A common dialog to select storage backend.
Currently following backends are supported:
Communication is performed via BaseSettingsManager object passed to the constructor. The following properties are used in it:
These settings are also queried when constructing the selector to use them as default ones.
Definition at line 62 of file backendselector.h.
|
explicit |
Constructs the BackendSelector.
Constructs the BackendSelector from the given settings manager and parent widget.
[in,out] | manager | The settings manager to use to communicate with the outer world. |
[in] | parent | The parent widget. |
Definition at line 22 of file backendselector.cpp.
|
overridedefault |
|
slot |
Updates the settings manager.
This function fills the settings manager with the settings entered by the user in UI.
Definition at line 67 of file backendselector.cpp.
|
slot |
Restores the settings in UI.
This function restores the settings in UI from the settings in the settings manager.
Definition at line 84 of file backendselector.cpp.