-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathSettingsDialog.h
51 lines (40 loc) · 1.33 KB
/
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
//-----------------------------------------------------------------------------
// File: SettingsDialog.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Joni-Matti Maatta
// Date: 10.6.2011
//
// Description:
// Settings dialog.
//-----------------------------------------------------------------------------
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <common/dialogs/propertyPageDialog/PropertyPageDialog.h>
#include <QSettings>
//-----------------------------------------------------------------------------
//! SettingsDialog class.
//-----------------------------------------------------------------------------
class SettingsDialog : public PropertyPageDialog
{
Q_OBJECT
public:
/*!
* Constructor.
*
* @param [in] parent The parent widget.
*/
SettingsDialog(QWidget* parent = 0);
/*!
* Destructor.
*/
virtual ~SettingsDialog() = default;
// Disable copying.
SettingsDialog(SettingsDialog const& rhs) = delete;
SettingsDialog& operator=(SettingsDialog const& rhs) = delete;
private:
//! The settings store.
QSettings settings_;
};
//-----------------------------------------------------------------------------
#endif // SETTINGSDIALOG_H