srohit24
21st August 2009, 06:57
Hi
I want to show a error message to the user by poping up a dialog box.
How can i do that using qdialog?
I have used this to accept input from the user
QString text = QInputDialog::getText(this, tr("Enter the username"),
tr("User name:"), QLineEdit::Normal);
I want to show a error message to the user by poping up a dialog box.
How can i do that using qdialog?
I have used this to accept input from the user
QString text = QInputDialog::getText(this, tr("Enter the username"),
tr("User name:"), QLineEdit::Normal);