Init crash
This commit is contained in:
13
qt_dialog.cpp
Normal file
13
qt_dialog.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user