From 8543125fa656ddc2c114072adfc27e4e7c461695 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 6 Sep 2021 21:08:14 +0200 Subject: [ui] transient connecting state --- gui/components/MainView.qml | 42 +++++------------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) (limited to 'gui/components/MainView.qml') diff --git a/gui/components/MainView.qml b/gui/components/MainView.qml index 1918c7f..5407178 100644 --- a/gui/components/MainView.qml +++ b/gui/components/MainView.qml @@ -82,44 +82,12 @@ Page { } } - Drawer { - id: locationsDrawer - - width: root.width - height: root.height - - ListView { - focus: true - currentIndex: -1 - anchors.fill: parent - - delegate: ItemDelegate { - width: parent.width - text: model.text - highlighted: ListView.isCurrentItem - onClicked: { - locationsDrawer.close() - model.triggered() - } - } - - model: ListModel { - ListElement { - text: qsTr("Montreal, CA") - triggered: function () {} - } - ListElement { - text: qsTr("Paris, FR") - triggered: function () {} - } - } - - ScrollIndicator.vertical: ScrollIndicator {} - } + header: Header { + id: header + } + footer: Footer { + id: footer } - - header: Header {} - footer: Footer {} Dialog { id: aboutDialog -- cgit v1.2.3