Results 1 to 2 of 2

Thread: QMessageBox - no dialog title on Mac OS?

  1. #1
    Join Date
    Jul 2007
    Posts
    56
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question QMessageBox - no dialog title on Mac OS?

    I'm using QMessageBox with Qt 4.3.1 on Mac OS 10.4. I noticed that the dialogs created QMessageBox have a title bar, but the dialog title text is not set - it's just blank. The same happens with the "Standard Dialogs" Qt demo app.

    Also the QErrorMessage window always shows behind the app's window so it's hidden.

    Are these bugs, features.....?

  2. #2
    Join Date
    Oct 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QMessageBox - no dialog title on Mac OS?

    I believe the no title on Mac is intentional behaviour.

    The documentation of QMessageBox::setTitle():
    On Mac OS X, the window title is ignored (as required by the Mac OS X Guidelines).

    Please see:
    http://doc.trolltech.com/4.3/qmessag...setWindowTitle

    ----
    That the QErrorMessage is placed behind the main dialog is added to the Task tracker here:
    http://trolltech.com/developer/task-...7&method=entry

    If you have bug reports concerning Qt you should probably send them to qt-bugs@trolltech.com so they can be fixed.

Similar Threads

  1. Resizing the dialog boxes
    By anju123 in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2007, 10:41
  2. QGraphicsView: Dialog Position Doubt
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 6th August 2007, 17:48
  3. Replies: 1
    Last Post: 1st February 2007, 17:07
  4. Replies: 3
    Last Post: 23rd July 2006, 18:02
  5. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 14:52

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.