PDA

View Full Version : Using standard Mac OS X colour picker and round rect buttons



AndyBrice
4th May 2012, 15:49
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

AndyBrice
8th May 2012, 11:43
The answer, apparently, is to use QMacCocoaViewContainer :
http://stackoverflow.com/questions/10479253/is-there-any-way-to-add-a-nscolorwell-colour-picker-in-qt