Add Qt screen widget
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
#include <QApplication>
|
||||
#include <QtWidgets>
|
||||
|
||||
#include "panda_qt/screen.hpp"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
QWidget window;
|
||||
|
||||
window.resize(320, 240);
|
||||
window.show();
|
||||
window.setWindowTitle("Alber");
|
||||
return app.exec();
|
||||
QApplication app(argc, argv);
|
||||
QWidget window;
|
||||
|
||||
window.resize(320, 240);
|
||||
window.show();
|
||||
window.setWindowTitle("Alber");
|
||||
ScreenWidget screen(&window);
|
||||
screen.show();
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user