aboutsummaryrefslogtreecommitdiffstats
path: root/gui/dummy/mainwindow.cc
blob: dad73d7e53c8bc4d109ee27ab0ddd16489a7cecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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());

}