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

Qt Code:
  1. QString text = QInputDialog::getText(this, tr("Enter the username"),
  2. tr("User name:"), QLineEdit::Normal);
To copy to clipboard, switch view to plain text mode