Mercurial > minori
comparison include/gui/dialog/settings.h @ 69:27a19dd6cba1
*: fix up some stuff
settings: due to my own incompetence OnOK caused the entire program to crash,
now that's fixed :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 03 Oct 2023 03:38:25 -0400 |
parents | 2417121d894e |
children | c69230dc2b5d |
comparison
equal
deleted
inserted
replaced
68:2417121d894e | 69:27a19dd6cba1 |
---|---|
4 #include <QDialog> | 4 #include <QDialog> |
5 #include <QWidget> | 5 #include <QWidget> |
6 | 6 |
7 class QLabel; | 7 class QLabel; |
8 class QTabWidget; | 8 class QTabWidget; |
9 class QStackedWidget; | |
9 class SideBar; | 10 class SideBar; |
10 | 11 |
11 class SettingsPage : public QWidget { | 12 class SettingsPage : public QWidget { |
12 Q_OBJECT | 13 Q_OBJECT |
13 | 14 |
56 QWidget* CreateServicesMainPage(QWidget* parent); | 57 QWidget* CreateServicesMainPage(QWidget* parent); |
57 void OnOK(); | 58 void OnOK(); |
58 | 59 |
59 private: | 60 private: |
60 SideBar* sidebar; | 61 SideBar* sidebar; |
62 QStackedWidget* stacked; | |
61 }; | 63 }; |
62 #endif // __gui__dialog__settings_h | 64 #endif // __gui__dialog__settings_h |