[qet] [1502] Template editor: added keyboard shortcuts for open from file and save to file actions.

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


Revision: 1502
Author:   xavier
Date:     2012-02-13 23:09:40 +0100 (Mon, 13 Feb 2012)
Log Message:
-----------
Template editor: added keyboard shortcuts for open from file and save to file actions.

Modified Paths:
--------------
    branches/0.3/sources/titleblock/qettemplateeditor.cpp

Modified: branches/0.3/sources/titleblock/qettemplateeditor.cpp
===================================================================
--- branches/0.3/sources/titleblock/qettemplateeditor.cpp	2012-02-12 17:25:08 UTC (rev 1501)
+++ branches/0.3/sources/titleblock/qettemplateeditor.cpp	2012-02-13 22:09:40 UTC (rev 1502)
@@ -318,7 +318,9 @@
 	
 	new_              -> setShortcut(QKeySequence::New);
 	open_             -> setShortcut(QKeySequence::Open);
+	open_from_file_   -> setShortcut(tr("Ctrl+Shift+O", "shortcut to open a template from a file"));
 	save_             -> setShortcut(QKeySequence::Save);
+	save_as_file_     -> setShortcut(tr("Ctrl+Shift+S", "shortcut to save a template to a file"));
 	quit_             -> setShortcut(QKeySequence(tr("Ctrl+Q", "shortcut to quit")));
 	undo_             -> setShortcut(QKeySequence::Undo);
 	redo_             -> setShortcut(QKeySequence::Redo);


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