Results 1 to 2 of 2

Thread: QMessageBox::information box question

  1. #1
    Join Date
    Jan 2007
    Posts
    91
    Thanks
    21
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default QMessageBox::information box question

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QMessageBox::information box question

    Quote Originally Posted by bruccutler View Post
    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.

Similar Threads

  1. Access to QSqlTableModel::isDirty Question.
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 12th April 2007, 17:49
  2. Replies: 1
    Last Post: 15th March 2007, 20:45
  3. Question regarding how to paint after zoom.
    By JonathanForQT4 in forum Qt Programming
    Replies: 2
    Last Post: 26th January 2007, 15:34
  4. QThread exit()/quit() question
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2006, 14:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.