projects
/
web/konrad/DeclarativeWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c1aae22
)
Connect editor context menu actions
author
Kevin Krammer
<kevin.krammer@kdab.com>
Wed, 17 Oct 2012 18:34:29 +0000 (20:34 +0200)
committer
Kevin Krammer
<kevin.krammer@kdab.com>
Wed, 17 Oct 2012 18:34:29 +0000 (20:34 +0200)
editor.qml
patch
|
blob
|
history
diff --git
a/editor.qml
b/editor.qml
index
6e9f5e0
..
53a5379
100644
(file)
--- a/
editor.qml
+++ b/
editor.qml
@@
-114,10
+114,18
@@
MainWindow {
contextMenuPolicy: Qt.ActionsContextMenu
Action {
- text: "Copy"
+ text: qsTr("Cut")
+ onTriggered: textEdit.cut()
}
+
+ Action {
+ text: qsTr("Copy")
+ onTriggered: textEdit.copy()
+ }
+
Action {
- text: "Paste"
+ text: qsTr("Paste")
+ onTriggered: textEdit.paste()
}
}