nextpnr/gui/dummy/mainwindow.cc

22 lines
504 B
C++
Raw Normal View History

2018-06-21 19:41:16 +08:00
#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; }