Hello.
This is the code:
msgBox.setText("Please wait to connect to the server.");
msgBox.setWindowTitle("Checking for update.");
msgBox.exec();
QMessageBox msgBox;
msgBox.setText("Please wait to connect to the server.");
msgBox.setWindowTitle("Checking for update.");
msgBox.exec();
To copy to clipboard, switch view to plain text mode
This executes the msgBox and waits for the user to click OK or [X] to the messagebox dialog. What I need is, after the .exec the program to continue with the following code (for instance to start checking for the update) and perform the check:
if(msgBox.isVisible())
msgBox.close();
if(msgBox.isVisible())
msgBox.close();
To copy to clipboard, switch view to plain text mode
before displaying another message letting the user know if there is or not update.
How can you just launch a MessageBox?
(for anybody familiar to bash scripting it is similar to the symbol '&' after calling an application)
Bookmarks