Returns the identifier of the button that was clicked. If parent is 0, then the message box becomes an application-global modal dialog box. If parent is a widget, the message box becomes modal relative to parent . Handles key press events for the message box. Reimplemented from QWidget.
Handles resize events for the message box.
Reimplemented from QWidget. Sets the text of the message box button button to text . Setting the text of a button that is not in the message box is quietly ignored. The actual pixmap used for displaying the icon depends on the current GUI style. Note that it's often hard to draw one pixmap which looks appropriate in both Motif and Windoes GUI styles.