Mercurial > minori
comparison include/gui/window.h @ 95:8043152ef9d4
include: set classes as final where appropriate
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 01 Nov 2023 14:39:43 -0400 |
parents | c489dd4434af |
children | 6d8da6e64d61 |
comparison
equal
deleted
inserted
replaced
94:2f373d48f889 | 95:8043152ef9d4 |
---|---|
6 class QWidget; | 6 class QWidget; |
7 class QStackedWidget; | 7 class QStackedWidget; |
8 class QCloseEvent; | 8 class QCloseEvent; |
9 class SideBar; | 9 class SideBar; |
10 | 10 |
11 class MainWindow : public QMainWindow { | 11 class MainWindow final : public QMainWindow { |
12 Q_OBJECT | 12 Q_OBJECT |
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); |