summaryrefslogtreecommitdiff
path: root/gui/components/MainView.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-09-06 21:08:14 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-11-23 21:51:01 +0100
commit8543125fa656ddc2c114072adfc27e4e7c461695 (patch)
tree176f90c03f64c2645932dbaf3d87f2ad22b61489 /gui/components/MainView.qml
parentb8e0fe3b5003d22043042110e8036f4383602545 (diff)
[ui] transient connecting state
Diffstat (limited to 'gui/components/MainView.qml')
-rw-r--r--gui/components/MainView.qml42
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