Files
eda_fpga/eda/eda_qt/mainwindow.cpp
leisen_c f9e746928d 1
2021-01-24 00:30:41 +08:00

25 lines
395 B
C++

#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "new_file.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
this->showMaximized();
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_actionNew_triggered()
{
new_file *s = new new_file(this);
s->show();
}