[Qt] Add MainWindow class
This commit is contained in:
10
src/panda_qt/main_window.cpp
Normal file
10
src/panda_qt/main_window.cpp
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user