-
Notifications
You must be signed in to change notification settings - Fork 0
/
settingsdialog.h
51 lines (40 loc) · 983 Bytes
/
settingsdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <QDialog>
#include <settings.h>
using namespace std;
namespace Ui {
class SettingsDialog;
}
/*!
* \class SettingsDialog
* \brief The SettingsDialog is child of QDialog which provides UI for the Settings Dialog
* \since v 0.0.1
*/
class SettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsDialog(QWidget *parent = nullptr);
~SettingsDialog();
private slots:
/*!
\fn void on_buttonBox_accepted();
Save updated settings
*/
void on_buttonBox_accepted();
private:
Ui::SettingsDialog *ui;
/*!
\fn void setupCheckboxesUsingSavedSettings();
Initialize checkbox check state using saved settings
*/
void setupCheckboxesUsingSavedSettings();
/*!
Pointer to a instance of \class Settings
which is used retrieve user settings
in order to intilize checkbox check states
*/
Settings *settings;
};
#endif // SETTINGSDIALOG_H