summaryrefslogtreecommitdiff
path: root/tests/plugins/pack/qtapp/src/mainwindow.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-27 23:38:25 +0800
committerruki <[email protected]>2025-11-27 23:38:25 +0800
commit96e1ffb8e2991322c58e2c7ff5864367d9bea529 (patch)
tree6c411b6b2cff4d713481ad7a626830f11201a87d /tests/plugins/pack/qtapp/src/mainwindow.cpp
parent4be95ee920757c2c813b84af5f07653c191c0215 (diff)
add qtapp
Diffstat (limited to 'tests/plugins/pack/qtapp/src/mainwindow.cpp')
-rw-r--r--tests/plugins/pack/qtapp/src/mainwindow.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/plugins/pack/qtapp/src/mainwindow.cpp b/tests/plugins/pack/qtapp/src/mainwindow.cpp
new file mode 100644
index 000000000..7002a54ea
--- /dev/null
+++ b/tests/plugins/pack/qtapp/src/mainwindow.cpp
@@ -0,0 +1,16 @@
+#include "mainwindow.h"
+#include "ui_mainwindow.h"
+
+MainWindow::MainWindow(QWidget *parent)
+ : QMainWindow(parent)
+ , ui(new Ui::MainWindow)
+{
+ ui->setupUi(this);
+ setWindowTitle("Qt Widget App");
+}
+
+MainWindow::~MainWindow()
+{
+ delete ui;
+}
+