PDA

View Full Version : QMessageBox::information box question



bruccutler
16th June 2007, 13:38
Hello all:
I need to know how to respond to the clicking of the Help button on a QMessageBox::information() (or warning or critical) without closing the box. Do I need to subclass the method in order to bring up the help window without closing the information dialog box?
- BRC

jacek
17th June 2007, 17:30
Do I need to subclass the method in order to bring up the help window without closing the information dialog box?
QMessageBox::information() and friends are convenience functions and you can't do much about their behaviour.

If you are going to use such message box in more than one place, subclassing will be the best approach.