StudyQt/mainwindow.cpp

22 lines
337 B
C++
Raw Permalink Normal View History

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;
}