summaryrefslogtreecommitdiff
path: root/gui/components/MainView.qml
diff options
context:
space:
mode:
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