Init crash

This commit is contained in:
2025-08-31 00:03:00 +08:00
parent f9eaf6c084
commit fef67a02c9
5 changed files with 137 additions and 0 deletions

13
qt_dialog.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "qt_dialog.h"
#include <QLabel>
#include <QVBoxLayout>
QtDialog::QtDialog(QWidget* parent)
: QDialog(parent)
{
setWindowTitle("Non-blocking Qt Dialog");
QVBoxLayout* layout = new QVBoxLayout(this);
QLabel* label = new QLabel("Hello from Qt (non-blocking)!", this);
layout->addWidget(label);
setLayout(layout);
}