aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/widgets/qwidgetplatformmenu.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove setTag/Tag overridesAlbert Astals Cid2017-04-211-11/+1
| | | | | | | The base class now provides implementation for them Change-Id: I6e0eb165c3cead26683da8e3c76cd0a0203ff649 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform Menus: support sub menus in the Qt Widgets fallback menusJ-P Nurmi2017-03-081-9/+16
| | | | | | | | | Implement all the missing things and fix the type of the cast in QWidgetPlatformMenuItem::setMenu() to make sub menus work with the widgets fallbacks. Change-Id: I19bb010a5c639a77b76d1d92a47ad03576c06d2f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Welcome to 2017J-P Nurmi2017-01-091-1/+1
| | | | | Change-Id: If68cff4efacc7dc5719c8b8e61937e85e9076870 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: widget-based fallbacks no longer need to check availabilityJ-P Nurmi2016-08-161-26/+13
| | | | | | | | | | | It is done in qwidgetplatform_p.h createWidget() outside QT_WIDGETS_LIB guards so you get the important warnings even in -no-widgets builds. Now that the widget platform instances are created only when really available, they can unconditionally instantiate the respective widget, which simplifies the code quite a bit. Change-Id: I7430f8e803050e43edb3af3a139b0508445f6a37 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Menu & MenuItem: use widgets as a fallbackJ-P Nurmi2016-06-221-0/+199
This makes context menus available on Windows and KDE. One more reason to keep the module experimental. In the long run, platforms should implement QPA menus so that we can remove the undesired dependency. Change-Id: Ifd2d1e92512a05a95d3e7e7e7c00d712e06ce0cb Reviewed-by: J-P Nurmi <jpnurmi@qt.io>