|
|
@ -51,6 +51,13 @@ Page {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onKeyPressed: {
|
|
|
|
onKeyPressed: {
|
|
|
|
|
|
|
|
if ((event.key === Qt.Key_A)
|
|
|
|
|
|
|
|
&& (event.modifiers & Qt.ControlModifier)
|
|
|
|
|
|
|
|
&& (event.modifiers & Qt.ShiftModifier)) {
|
|
|
|
|
|
|
|
_terminal.selectAll()
|
|
|
|
|
|
|
|
event.accepted = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((event.key === Qt.Key_C)
|
|
|
|
if ((event.key === Qt.Key_C)
|
|
|
|
&& (event.modifiers & Qt.ControlModifier)
|
|
|
|
&& (event.modifiers & Qt.ControlModifier)
|
|
|
|
&& (event.modifiers & Qt.ShiftModifier)) {
|
|
|
|
&& (event.modifiers & Qt.ShiftModifier)) {
|
|
|
@ -185,6 +192,12 @@ Page {
|
|
|
|
action: _pasteAction
|
|
|
|
action: _pasteAction
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MenuItem {
|
|
|
|
|
|
|
|
id: selectAllItem
|
|
|
|
|
|
|
|
text: qsTr("Select All")
|
|
|
|
|
|
|
|
onTriggered: _terminal.selectAll()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
MenuItem {
|
|
|
|
MenuItem {
|
|
|
|
text: qsTr("Open File Manager")
|
|
|
|
text: qsTr("Open File Manager")
|
|
|
|
onTriggered: Process.openFileManager(_session.currentDir)
|
|
|
|
onTriggered: Process.openFileManager(_session.currentDir)
|
|
|
|