Mercurial > minori
comparison include/gui/window.h @ 105:6d8da6e64d61
theme: add dark stylesheet, make it actually usable
win32: make the titlebar black where available
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 05 Nov 2023 03:54:26 -0500 |
parents | 8043152ef9d4 |
children | 80f49f623d30 |
comparison
equal
deleted
inserted
replaced
104:27455104ea37 | 105:6d8da6e64d61 |
---|---|
13 | 13 |
14 public: | 14 public: |
15 MainWindow(QWidget* parent = nullptr); | 15 MainWindow(QWidget* parent = nullptr); |
16 void SetActivePage(QWidget* page); | 16 void SetActivePage(QWidget* page); |
17 void CreateBars(); | 17 void CreateBars(); |
18 void showEvent(QShowEvent* event) override; | |
18 void closeEvent(QCloseEvent* event) override; | 19 void closeEvent(QCloseEvent* event) override; |
19 | 20 |
20 private: | 21 private: |
21 QWidget* main_widget; | 22 QWidget* main_widget; |
22 QStackedWidget* stack; | 23 QStackedWidget* stack; |