Results 1 to 2 of 2

Thread: Using standard Mac OS X colour picker and round rect buttons

  1. #1
    Join Date
    Sep 2011
    Posts
    37
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Using standard Mac OS X colour picker and round rect buttons

    Mac OS X has a standard colour picking button (Cocoa class: NSColorWell).

    Mac OS X also has a "Round Rect button" that looks different to the "Push Button" that QPushButton translates to.

    Is there any way to create these for the Mac version of my product in Qt?

    I am using Qt 4.8.1 on Mac OS X 10.6.

    best regards

    Andy Brice
    http://www.perfecttableplan.com
    http://www.successfulsoftware.net

  2. #2
    Join Date
    Sep 2011
    Posts
    37
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Re: Using standard Mac OS X colour picker and round rect buttons

    The answer, apparently, is to use QMacCocoaViewContainer :
    http://stackoverflow.com/questions/1...r-picker-in-qt

Similar Threads

  1. Standard buttons/icons?
    By MTK358 in forum Qt Programming
    Replies: 3
    Last Post: 27th June 2010, 18:24
  2. Replies: 1
    Last Post: 8th January 2010, 12:45
  3. How to draw the below round rect?
    By tszzp in forum Qt Programming
    Replies: 1
    Last Post: 7th January 2010, 09:58
  4. Hopefully the last time: round buttons
    By auba in forum Qt Programming
    Replies: 14
    Last Post: 29th June 2009, 11:17
  5. How to draw a filled round rect?
    By high_flyer in forum Qt Programming
    Replies: 8
    Last Post: 11th May 2006, 11:26

Tags for this Thread

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.