QPA, Cocoa: Add platform popup menus
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>
Fri, 4 Jan 2013 13:55:36 +0000 (14:55 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 11 Jan 2013 20:24:23 +0000 (21:24 +0100)
commit9fa5191b6eca7fc96b4720d9b892b0e2a8ff1469
treeea2608f109b45fcc4e304c575ce5f0cf62d728ef
parent527a87eda836fa66b351cdd7077613c72cabadbb
QPA, Cocoa: Add platform popup menus

Also, allow to set menu-wide font (instead of per menu item),
and minimum width.

Change-Id: I5f83f260602f55b9409ad69abf670afb59b2d33a
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
src/gui/kernel/qplatformmenu.h
src/plugins/platforms/cocoa/qcocoamenu.h
src/plugins/platforms/cocoa/qcocoamenu.mm