[Qt] Add MainWindow class

This commit is contained in:
wheremyfoodat 2023-09-30 17:07:54 +03:00
parent 55bb0d7170
commit 155d2b8f24
5 changed files with 32 additions and 10 deletions

View file

@ -0,0 +1,10 @@
#include "panda_qt/main_window.hpp"
MainWindow::MainWindow(QApplication* app, QWidget* parent) : QMainWindow(parent), screen(this) {
setWindowTitle("Alber");
// Enable drop events for loading ROMs
setAcceptDrops(true);
resize(320, 240);
screen.show();
}