aboutsummaryrefslogtreecommitdiffstats
path: root/gui/dummy/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dummy/mainwindow.cc')
-rw-r--r--gui/dummy/mainwindow.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/gui/dummy/mainwindow.cc b/gui/dummy/mainwindow.cc
new file mode 100644
index 00000000..a9420524
--- /dev/null
+++ b/gui/dummy/mainwindow.cc
@@ -0,0 +1,18 @@
+#include "mainwindow.h"
+
+MainWindow::MainWindow(Context *_ctx, QWidget *parent)
+ : BaseMainWindow(_ctx, parent)
+{
+ std::string title = "nextpnr-dummy - " + ctx->getChipName();
+ setWindowTitle(title.c_str());
+
+ createMenu();
+}
+
+MainWindow::~MainWindow() {}
+
+void MainWindow::createMenu()
+{
+ QMenu *menu_Custom = new QMenu("&Dummy", menuBar);
+ menuBar->addAction(menu_Custom->menuAction());
+}