My first Qt Project!

This commit is contained in:
2025-05-27 17:13:43 +08:00
commit 0c4eef6396
6 changed files with 184 additions and 0 deletions

28
mainwindow.h Normal file
View File

@ -0,0 +1,28 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPushButton>
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
void hello();
void Exit();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H