feat: more actions in menu

This commit is contained in:
Flex Zhong 2021-08-03 16:02:24 +08:00
parent e5cfe335a9
commit 1f199ca945

View file

@ -76,6 +76,23 @@ Item {
text: qsTr("Select All") text: qsTr("Select All")
onTriggered: dirModel.selectAll() onTriggered: dirModel.selectAll()
} }
MenuSeparator {}
MenuItem {
text: qsTr("Cut")
onTriggered: dirModel.cut()
}
MenuItem {
text: qsTr("Copy")
onTriggered: dirModel.copy()
}
MenuItem {
text: qsTr("Paste")
onTriggered: dirModel.paste()
}
} }
Menu { Menu {