Commit Graph

14 Commits

Author SHA1 Message Date
Marco Martin
dbc758db7a showMenu(int,int) becomes open(int,int) 2012-08-14 23:11:16 +02:00
Gregor Tätzner
4e2ee8c42e Make showMenu invokable from qml
I.e. necessary if we want to specifiy the position of a menu with
position coordinates from a MouseArea.
2012-08-14 22:19:37 +02:00
Marco Martin
edf08a8cdb document visualParent 2011-12-30 16:38:18 +01:00
Marco Martin
a529db32fd support submenus by (ab)using visualParent
if visualParent is a QAction, this becomes a submenu
2011-12-30 16:35:55 +01:00
Marco Martin
98e7440620 ditch the model, support a repeater for items
add menu items when a child that is a menuitem is added, this lets us to not deviate too much from the standard api
2011-12-29 15:09:58 +01:00
Marco Martin
8bad802a44 restore the new api after the 4.8 merge
the new api was removed from 4.8 branch, merging removed it from master, add it again, so merging 4.8 into master will work (at least until the first cherrypick ;)
2011-12-27 18:31:38 +01:00
Marco Martin
764253359e Merge branch 'KDE/4.8'
Conflicts:
	plasma/declarativeimports/plasmacomponents/qmenu.cpp
2011-12-27 18:29:12 +01:00
Marco Martin
fa35709952 triggered and triggerendindex signals 2011-12-21 21:55:32 +01:00
Marco Martin
1a4a4b8f45 triggered signal 2011-12-21 19:52:35 +01:00
Marco Martin
d4b7cccfc7 revert api addition on 4.9
this was supposed to be only for master/4.9
2011-12-21 12:09:17 +01:00
Marco Martin
bb0bb5bb4e on par with desktop components
add item and clear menu
2011-12-20 15:37:27 +01:00
Marco Martin
c0de261ccc support visualParent property 2011-11-08 23:07:42 +01:00
Marco Martin
4970198392 export status 2011-10-28 19:40:04 +02:00
Marco Martin
5788424702 qmenu bindings with the QtComponents api 2011-10-28 18:57:34 +02:00