Commit Graph

19 Commits

Author SHA1 Message Date
Marco Martin
d86b233464 avoid potential infinite recursions 2012-09-21 14:23:41 +02:00
Marco Martin
708be449c3 fix absolute screen position for menu position 2012-09-20 16:28:49 +02:00
Marco Martin
dbc758db7a showMenu(int,int) becomes open(int,int) 2012-08-14 23:11:16 +02:00
Marco Martin
4f711a67fc correctly load the dialog component 2012-01-09 12:41:21 +01:00
Marco Martin
edda55f015 remove deprecated property 2012-01-09 11:41:28 +01:00
Marco Martin
e121edf7d8 update the menu at childAdded/removed 2011-12-30 17:48:14 +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
764253359e Merge branch 'KDE/4.8'
Conflicts:
	plasma/declarativeimports/plasmacomponents/qmenu.cpp
2011-12-27 18:29:12 +01:00
Marco Martin
4e8d9963ab BUGFIX: assign visualparent if it's set
not the other way around
2011-12-27 18:26:05 +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
77fa1ee910 fix positioning 2011-10-28 20:34:46 +02:00
Marco Martin
5c9fec3d31 better positioning 2011-10-28 20:14:38 +02: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