![]() |
Qt 6.x
The Qt SDK
|
This NSView derived class is used to add OK/Cancel buttons to NSColorPanel and NSFontPanel. It replaces the panel's content view, while reparenting the former content view into itself. It also takes care of setting the target-action for the OK/Cancel buttons and making sure the layout is consistent.
Definition at line 350 of file qcocoahelpers.mm.