-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettingswindow.h
More file actions
50 lines (41 loc) · 952 Bytes
/
settingswindow.h
File metadata and controls
50 lines (41 loc) · 952 Bytes
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
#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H
#include <QDialog>
namespace Ui {
class SettingsWindow;
}
/**
* @brief The SettingsWindow class
*
* Represents the settings window of the application.
*/
class SettingsWindow : public QDialog
{
Q_OBJECT
public:
/**
* @brief Construct a new SettingsWindow object.
*
* @param parent Parent widget.
*/
explicit SettingsWindow(QWidget *parent = nullptr);
/**
* @brief Destroy the SettingsWindow object.
*/
~SettingsWindow();
protected:
/**
* @brief Reimplemented to handle the show event.
*
* @param event The show event.
*/
void showEvent(QShowEvent *event) override;
private slots:
/**
* @brief Slot for handling the accepted signal of the button box.
*/
void on_buttonBox_accepted();
private:
Ui::SettingsWindow *ui; /**< UI object for the settings window. */
};
#endif // SETTINGSWINDOW_H