feat: more actions in menu
This commit is contained in:
parent
e5cfe335a9
commit
1f199ca945
1 changed files with 17 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue