[qet] [2534] Element editor update context menu.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2534
Author:   scorpio810
Date:     2013-09-14 15:36:06 +0200 (Sat, 14 Sep 2013)
Log Message:
-----------
Element editor update context menu.

Modified Paths:
--------------
    trunk/sources/editor/qetelementeditor.cpp

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2013-09-14 13:11:32 UTC (rev 2533)
+++ trunk/sources/editor/qetelementeditor.cpp	2013-09-14 13:36:06 UTC (rev 2534)
@@ -417,12 +417,18 @@
  */
 void QETElementEditor::contextMenuEvent(QContextMenuEvent *event)
  {
-	 QMenu menu(this);
-	 menu.addAction(cut);
-	 menu.addAction(copy);
-	 menu.addAction(paste);
-	 menu.addAction(paste_in_area);
-	 menu.exec(event->globalPos());
+	QMenu menu(this);
+	menu.addAction(undo);
+	menu.addAction(redo);
+	menu.addAction(selectall);
+	menu.addAction(deselectall);
+	menu.addAction(inv_select);
+	menu.addSeparator();
+	menu.addAction(cut);
+	menu.addAction(copy);
+	menu.addAction(paste);
+	menu.addAction(paste_in_area);
+	menu.exec(event->globalPos());
  }
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/