diff --git a/qmlUiKirigami/main.qml b/qmlUiKirigami/main.qml --- a/qmlUiKirigami/main.qml +++ b/qmlUiKirigami/main.qml @@ -20,15 +20,56 @@ */ import QtQuick 2.1 -import QtQuick.Controls 2.0 as Controls +import QtQuick.Controls 2.1 as Controls -import org.kde.kirigami 2.0 as Kirigami +import org.kde.kirigami 2.1 as Kirigami Kirigami.ApplicationWindow { id: root pageStack.initialPage: overviewPage + globalDrawer: Kirigami.GlobalDrawer { + title: "Navigation" + handleVisible: true + + actions: [ + Kirigami.Action { + text: "Locations" + Kirigami.Action { + text: "By Country" + } + Kirigami.Action { + text: "By State" + } + Kirigami.Action { + text: "By City" + } + }, + Kirigami.Action { + text: "Time" + Kirigami.Action { + text: "By Year" + } + Kirigami.Action { + text: "By month" + } + Kirigami.Action { + text: "By Week" + } + Kirigami.Action { + text: "By Day" + } + }, + Kirigami.Action { + text: "Path" + Kirigami.Action { + text: "By Folder" + } + } + ] + } + Component { id: overviewPage OverviewPage {}