mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[Qt] Add MainWindow class
This commit is contained in:
parent
55bb0d7170
commit
155d2b8f24
5 changed files with 32 additions and 10 deletions
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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue