Hello!
I'd like to make a simple popup dialog that opens after my program is done running. I want it to say "Completed" and display an OK button which would simply close the dialog.
So far I have this:
QDialog okDialog
(this, Qt
::Dialog);
okDialog.resize(50,50);
okDialog.exec();
okDialog.raise();
okDialog.activateWindow();
QDialog okDialog(this, Qt::Dialog);
QLabel doneLabel("Complete");
QPushButton okButton;
okDialog.resize(50,50);
okDialog.exec();
okDialog.raise();
okDialog.activateWindow();
To copy to clipboard, switch view to plain text mode
I'd like to know how to add the okButton and the QLabel (wth thext) to the surface of my dialog. Thanks.
Bookmarks