Results 1 to 3 of 3

Thread: Why the system buttons are disabled on Mac OS?

  1. #1
    Join Date
    Jan 2006
    Posts
    29
    Qt products
    Qt4
    Platforms
    Windows

    Default Why the system buttons are disabled on Mac OS?

    Hi,

    I don't know why my system buttons (minimize, close,...) on the top-left corner of window are disabled when displaying on Mac OS thought it has no problem on Windows?
    Please help me!

    Thanks a lot.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Why the system buttons are disabled on Mac OS?

    What window flags did you set?
    Is it a QDialog or a QMainWindow?

  3. #3
    Join Date
    Jan 2006
    Posts
    29
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Why the system buttons are disabled on Mac OS?

    I am using the following function for all my dialogs (inherited from QDialog):

    setWindowFlags( Qt::Window | Qt::WindowMinimizeButtonHint | Qt::WindowSystemMenuHint);

    I wonder why it works on Windows (buttons is enabled) but Mac is not.
    Thanks for your reply.

Similar Threads

  1. Replies: 3
    Last Post: 25th April 2007, 12:43
  2. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  3. System title bar height
    By andynugent in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th October 2006, 15:57
  4. array of radio buttons
    By amulya in forum Qt Programming
    Replies: 4
    Last Post: 5th October 2006, 12:59
  5. How to get larger radio buttons on XP?
    By Ben.Hines in forum Qt Programming
    Replies: 9
    Last Post: 24th April 2006, 19:00

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.