diff options
author | 2016-11-04 17:23:50 +0100 | |
---|---|---|
committer | 2016-11-04 17:23:50 +0100 | |
commit | 1876ff11a182afb1cf0180f188a2e13ad7b8095c (patch) | |
tree | bca3471c1588a93ed6e6d13e8f835da6fc72a60c /SampleNavigationApp/mainwindow.cpp | |
parent | bf0f33bec5ad705666dff6c821334524c1b81583 (diff) |
Add two sample apps just to have some Qt based applications that can be launched.
Nav is Qt widget based.
Media is QML based.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'SampleNavigationApp/mainwindow.cpp')
-rw-r--r-- | SampleNavigationApp/mainwindow.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/SampleNavigationApp/mainwindow.cpp b/SampleNavigationApp/mainwindow.cpp new file mode 100644 index 0000000..e79aeb8 --- /dev/null +++ b/SampleNavigationApp/mainwindow.cpp @@ -0,0 +1,17 @@ +#include "mainwindow.h" +#include "ui_mainwindow.h" + +MainWindow::MainWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::MainWindow) +{ + // no window decoration + setWindowFlags(Qt::FramelessWindowHint); + + ui->setupUi(this); +} + +MainWindow::~MainWindow() +{ + delete ui; +} |