comparison include/gui/window.h @ 46:d0adc4aedfc8

*: update... this commit: 1. consolidates dark theme stuff to dark_theme.cpp 2. creates a new widgets folder to store all of our custom widgets 3. creates the list settings page in the information dialog, although much of it is nonfunctional: it doesn't save, and the status doesn't even get filled in... we'll fix this later!
author Paper <mrpapersonic@gmail.com>
date Sat, 23 Sep 2023 01:02:15 -0400
parents 5c0397762b53
children c489dd4434af
comparison
equal deleted inserted replaced
45:4b05bc7668eb 46:d0adc4aedfc8
9 Q_OBJECT 9 Q_OBJECT
10 10
11 public: 11 public:
12 MainWindow(QWidget* parent = nullptr); 12 MainWindow(QWidget* parent = nullptr);
13 void SetActivePage(QWidget* page); 13 void SetActivePage(QWidget* page);
14 void SetStyleSheet(enum Themes theme);
15 void ThemeChanged();
16 void closeEvent(QCloseEvent* event) override; 14 void closeEvent(QCloseEvent* event) override;
17 15
18 private: 16 private:
19 QWidget* main_widget; 17 QWidget* main_widget;
20 }; 18 };