2023-07-29 16:12:02 +08:00
|
|
|
#include "mainwindow.h"
|
|
|
|
#include "./ui_mainwindow.h"
|
|
|
|
|
2023-07-29 21:53:42 +08:00
|
|
|
/**
|
|
|
|
* 构造一个主窗口
|
|
|
|
* @brief MainWindow::MainWindow
|
|
|
|
* @param parent 父Widget
|
|
|
|
*/
|
2023-07-29 16:12:02 +08:00
|
|
|
MainWindow::MainWindow(QWidget *parent)
|
|
|
|
: QMainWindow(parent)
|
|
|
|
, ui(new Ui::MainWindow)
|
|
|
|
{
|
2023-07-29 21:53:42 +08:00
|
|
|
//设置Ui组件
|
2023-07-29 16:12:02 +08:00
|
|
|
ui->setupUi(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
MainWindow::~MainWindow()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|