22 lines
504 B
C++
22 lines
504 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; } |