2022-03-13 22:00:00 +00:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
2022-08-21 19:37:42 +00:00
|
|
|
#include <unordered_map>
|
|
|
|
|
2022-03-13 22:00:00 +00:00
|
|
|
#include <QMainWindow>
|
|
|
|
|
2022-08-21 19:37:42 +00:00
|
|
|
#include <examplescene.h>
|
2022-11-19 21:00:20 +00:00
|
|
|
#include "qtk-widget_export.h"
|
2022-03-13 22:00:00 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
2022-11-19 21:00:20 +00:00
|
|
|
class QTK_WIDGET_EXPORT MainWindow
|
|
|
|
|
|
|
|
: public QMainWindow {
|
|
|
|
Q_OBJECT
|
2022-03-13 22:00:00 +00:00
|
|
|
|
2022-11-19 21:00:20 +00:00
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget * parent = nullptr);
|
|
|
|
~MainWindow() override;
|
2022-03-13 22:00:00 +00:00
|
|
|
|
2022-11-19 21:00:20 +00:00
|
|
|
private:
|
|
|
|
Ui::MainWindow * ui {};
|
|
|
|
std::unordered_map<std::string, Qtk::Scene *> mScenes;
|
2022-03-13 22:00:00 +00:00
|
|
|
};
|
|
|
|
|
2022-11-19 21:00:20 +00:00
|
|
|
#endif // MAINWINDOW_H
|