From 9c03909ebaec8157824a9cb13eeea774d29b35e1 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 21 Jun 2018 13:41:16 +0200 Subject: Make arch specific main window --- gui/dummy/mainwindow.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 gui/dummy/mainwindow.cc (limited to 'gui/dummy/mainwindow.cc') diff --git a/gui/dummy/mainwindow.cc b/gui/dummy/mainwindow.cc new file mode 100644 index 00000000..dad73d7e --- /dev/null +++ b/gui/dummy/mainwindow.cc @@ -0,0 +1,19 @@ +#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()); + +} -- cgit v1.2.3