mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 04:29: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
|
@ -1,18 +1,12 @@
|
|||
#include <QApplication>
|
||||
#include <QtWidgets>
|
||||
|
||||
#include "panda_qt/main_window.hpp"
|
||||
#include "panda_qt/screen.hpp"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
QWidget window;
|
||||
MainWindow window(&app);
|
||||
|
||||
window.resize(320, 240);
|
||||
window.show();
|
||||
window.setWindowTitle("Alber");
|
||||
ScreenWidget screen(&window);
|
||||
screen.show();
|
||||
screen.resize(320, 240);
|
||||
|
||||
return app.exec();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue