diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-09-06 21:08:14 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-10-06 18:38:12 +0200 |
commit | 7fdad87222a963e57031132acce7c06f4b80e64d (patch) | |
tree | 6c93efc27ce892f56a4e5400c890f7bee8289ae5 /gui/components/MainView.qml | |
parent | 566389285f60a59c8dc1323f977ecf4e36e7f679 (diff) |
[ui] transient connecting state
Diffstat (limited to 'gui/components/MainView.qml')
-rw-r--r-- | gui/components/MainView.qml | 42 |
1 files changed, 5 insertions, 37 deletions
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 |