[Kst] branches/work/kst/portto4/kst/src/libkstapp
Nicolas Brisset
nicolas.brisset at eurocopter.com
Tue Feb 28 22:35:39 UTC 2012
SVN commit 1282840 by brisset:
Cleanup the view item as suggested on the list. I find it much better that way, please give feedback and we'll revert it if there is a majority of complaints.
M +9 -7 viewitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #1282839:1282840
@@ -1118,21 +1118,23 @@
addTitle(&menu);
menu.addAction(_editAction);
- menu.addAction(_lockPosToDataAction);
- QMenu layoutMenu;
+// QMenu layoutMenu;
if (!(lockParent() || (parentViewItem() && parentViewItem()->lockParent()))) {
menu.addAction(_raiseAction);
menu.addAction(_lowerAction);
- layoutMenu.setTitle(tr("Cleanup Layout"));
- layoutMenu.addAction(_autoLayoutAction);
- layoutMenu.addAction(_protectedLayoutAction);
- layoutMenu.addAction(_customLayoutAction);
- menu.addMenu(&layoutMenu);
+// layoutMenu.setTitle(tr("Cleanup Layout"));
+// layoutMenu.addAction(_autoLayoutAction);
+// layoutMenu.addAction(_protectedLayoutAction);
+// layoutMenu.addAction(_customLayoutAction);
+// menu.addMenu(&layoutMenu);
+ menu.addSeparator();
menu.addAction(_deleteAction);
}
+ menu.addSeparator();
+ menu.addAction(_lockPosToDataAction);
addToMenuForContextEvent(menu);
More information about the Kst
mailing list