Panda3DS/include/panda_qt/main_window.hpp
2023-09-30 18:36:03 +03:00

29 lines
No EOL
507 B
C++

#pragma once
#include <QApplication>
#include <QComboBox>
#include <QMenuBar>
#include <QPalette>
#include <QtWidgets>
#include "panda_qt/screen.hpp"
class MainWindow : public QMainWindow {
Q_OBJECT
private:
enum class Theme : int {
System = 0, Light = 1, Dark = 2,
};
QComboBox* themeSelect = nullptr;
QMenuBar* menuBar = nullptr;
ScreenWidget screen;
Theme currentTheme;
void setTheme(Theme theme);
public:
MainWindow(QApplication* app, QWidget* parent = nullptr);
~MainWindow();
};