nextpnr/gui/dummy/mainwindow.cc
2018-06-21 15:42:19 +02:00

27 lines
514 B
C++

#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());
}
void MainWindow::open()
{
}
bool MainWindow::save()
{
return false;
}