diff --git a/accelbubble.qml b/accelbubble.qml index cc4eea5..c2cfd73 100644 --- a/accelbubble.qml +++ b/accelbubble.qml @@ -51,6 +51,7 @@ import QtQuick 2.1 import QtQuick.Controls 2.4 +import org.kde.kirigami 2.4 as Kirigami //! [0] import QtSensors 5.0 @@ -58,6 +59,7 @@ import QtSensors 5.0 ApplicationWindow { +Kirigami.ApplicationWindow { title: "Accelerate Bubble" id: mainWindow width: 320 @@ -65,8 +67,15 @@ ApplicationWindow { visible: true readonly property double radians_to_degrees: 180 / Math.PI + header: Kirigami.ApplicationHeader { + } + globalDrawer: Kirigami.GlobalDrawer { + id: leftMenu + title: mainWindow.title + } + Label { - text: "Using QQC2" + text: "Using QQC2 and Kirigami" } //! [1]