Mercurial > minori
diff include/gui/window.h @ 112:80f49f623d30
locale: allow switching locales without restarting
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 06 Nov 2023 13:41:30 -0500 |
parents | 6d8da6e64d61 |
children | ab191e28e69d |
line wrap: on
line diff
--- a/include/gui/window.h Mon Nov 06 02:03:55 2023 -0500 +++ b/include/gui/window.h Mon Nov 06 13:41:30 2023 -0500 @@ -15,13 +15,17 @@ MainWindow(QWidget* parent = nullptr); void SetActivePage(QWidget* page); void CreateBars(); + void AddMainWidgets(); + void RetranslateUI(); + void AsyncSynchronize(QStackedWidget* stack); + void changeEvent(QEvent* event) override; void showEvent(QShowEvent* event) override; void closeEvent(QCloseEvent* event) override; private: - QWidget* main_widget; - QStackedWidget* stack; - SideBar* sidebar; + QWidget* main_widget = nullptr; + QStackedWidget* stack = nullptr; + SideBar* sidebar = nullptr; }; #endif // __window_h