diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-21 14:27:50 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-21 14:27:50 +0200 |
commit | 477c33efba4362282cf88f02cf4d17f13d3ad8fd (patch) | |
tree | 3dd37bc2f2d15608138c45455b7cfeab0a892ccf /gui/ice40/mainwindow.cc | |
parent | 08020400b379a0c2d7069bbd62f43782d438598b (diff) | |
parent | 23fe31da44a2e2596335c09ae983217ffbc8f6b1 (diff) | |
download | nextpnr-477c33efba4362282cf88f02cf4d17f13d3ad8fd.tar.gz nextpnr-477c33efba4362282cf88f02cf4d17f13d3ad8fd.tar.bz2 nextpnr-477c33efba4362282cf88f02cf4d17f13d3ad8fd.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/ice40/mainwindow.cc')
-rw-r--r-- | gui/ice40/mainwindow.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc new file mode 100644 index 00000000..3744cdc7 --- /dev/null +++ b/gui/ice40/mainwindow.cc @@ -0,0 +1,28 @@ +#include "mainwindow.h"
+#include <QAction>
+#include <QIcon>
+#include "bitstream.h"
+#include "design_utils.h"
+#include "jsonparse.h"
+#include "log.h"
+#include "pack.h"
+#include "pcf.h"
+#include "place_sa.h"
+#include "route.h"
+
+MainWindow::MainWindow(Context *_ctx, QWidget *parent)
+ : BaseMainWindow(_ctx, parent)
+{
+ std::string title = "nextpnr-ice40 - " + ctx->getChipName();
+ setWindowTitle(title.c_str());
+
+ createMenu();
+}
+
+MainWindow::~MainWindow() {}
+
+void MainWindow::createMenu()
+{
+ QMenu *menu_Custom = new QMenu("&ICE 40", menuBar);
+ menuBar->addAction(menu_Custom->menuAction());
+}
|