diff options
Diffstat (limited to 'recipes-demo/de10-nano-qt-usb-gadget-app/files/mainwindow.cpp')
-rw-r--r-- | recipes-demo/de10-nano-qt-usb-gadget-app/files/mainwindow.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-qt-usb-gadget-app/files/mainwindow.cpp b/recipes-demo/de10-nano-qt-usb-gadget-app/files/mainwindow.cpp new file mode 100644 index 0000000..49d64fc --- /dev/null +++ b/recipes-demo/de10-nano-qt-usb-gadget-app/files/mainwindow.cpp @@ -0,0 +1,14 @@ +#include "mainwindow.h" +#include "ui_mainwindow.h" + +MainWindow::MainWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::MainWindow) +{ + ui->setupUi(this); +} + +MainWindow::~MainWindow() +{ + delete ui; +} |