Qml/Main: add global drawer
This commit is contained in:
parent
79ef083231
commit
e17cc20cdb
1 changed files with 11 additions and 0 deletions
|
|
@ -9,6 +9,17 @@ Kirigami.ApplicationWindow {
|
|||
|
||||
title: "Leek"
|
||||
|
||||
globalDrawer: Kirigami.GlobalDrawer {
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: "Quit"
|
||||
icon.name: "application-exit-symbolic"
|
||||
onTriggered: Qt.quit()
|
||||
}
|
||||
]
|
||||
isMenu: true
|
||||
}
|
||||
|
||||
pageStack.columnView.columnResizeMode: Kirigami.ColumnView.SingleColumn
|
||||
pageStack.initialPage: Kirigami.ScrollablePage {
|
||||
title: "Mods"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue