![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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 357 of file qcocoahelpers.mm.