QMessageBox Change Icon

QMessageBox Change Icon

The QMessageBox class provides a modal dialog for informing the user or for asking the user a question and receiving an answer. QMessageBox supports four predefined message severity levels, or message types, which really only differ in the predefined icon they each show. Specify one of the four predefined message types by setting theĀ icon property to one of theĀ predefined icons. The following rules are guidelines:

QMessageBox_default_icon Continue reading