Commit 8a619f58 authored by Morten Johan Sorvig's avatar Morten Johan Sorvig Committed by Morten Johan Sørvig
Browse files

Port menus to Qt 5.


Copy over qtmenu and qtmenuitem from the Qt 4 branch.
Register types in qstyleplugin.cpp.  

Delete Menu.qml MenuItem.qml - no longer in use 
and replaced by C++ code.

Some porting was necessary, in particular changing
QtMenuBase's base class from QObject to QtQuickItem.

Bugs: On OS X the menu bar is displayed only ~50%
if the time. Other platforms are not tested. 
Context menus do not work.

Change-Id: I4e9cc6952ec1c70dc28cfda2352ba9962b539b17
Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@nokia.com>
parent f92f1b72
No related merge requests found
Showing with 898 additions and 62 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment