Add Ctrl-C and Ctrl-V buttons to utilities tab

This commit is contained in:
Kung-vr
2019-04-14 17:54:08 +09:00
parent c3e9d7afe4
commit ed8cc8ddf6
6 changed files with 94 additions and 0 deletions
@@ -93,6 +93,30 @@ GroupBox {
}
}
}
RowLayout {
spacing: 18
Layout.fillWidth: true
MyPushButton {
text: "Ctrl-C"
Layout.preferredWidth: 150
onClicked: {
UtilitiesTabController.sendKeyboardCtrlC()
}
}
MyPushButton {
text: "Ctrl-V"
Layout.preferredWidth: 150
onClicked: {
UtilitiesTabController.sendKeyboardCtrlV()
}
}
Item {
Layout.fillWidth: true
}
}
}
Component.onCompleted: {
keyboardGroupBox.visible = !OverlayController.desktopMode