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