Changeset View
Changeset View
Standalone View
Standalone View
src/apps/marble-maps/SidePanel.qml
Context not available. | |||||
12 | import QtQuick.Controls 2.0 | 12 | import QtQuick.Controls 2.0 | ||
---|---|---|---|---|---|
13 | import QtQuick.Window 2.2 | 13 | import QtQuick.Window 2.2 | ||
14 | import QtQuick.Dialogs 1.2 | 14 | import QtQuick.Dialogs 1.2 | ||
15 | import org.kde.kirigami 2.0 as Kirigami | ||||
16 | | ||||
15 | import org.kde.marble 0.20 | 17 | import org.kde.marble 0.20 | ||
16 | 18 | | |||
17 | Drawer { | 19 | Drawer { | ||
Context not available. | |||||
20 | property var marbleMaps | 22 | property var marbleMaps | ||
21 | property alias showAccessibility: accessibilityAction.checked | 23 | property alias showAccessibility: accessibilityAction.checked | ||
22 | signal aboutActionTriggered() | 24 | signal aboutActionTriggered() | ||
25 | signal bookmarkActionTriggered() | ||||
23 | 26 | | |||
24 | Settings { | 27 | Settings { | ||
25 | id: settings | 28 | id: settings | ||
Context not available. | |||||
31 | } | 34 | } | ||
32 | } | 35 | } | ||
33 | 36 | | |||
34 | Column { | 37 | Column { | ||
35 | id: drawerContent | 38 | id: drawerContent | ||
36 | anchors.fill: parent | 39 | anchors.fill: parent | ||
37 | spacing: Screen.pixelDensity * 2 | 40 | spacing: Screen.pixelDensity * 2 | ||
Context not available. | |||||
111 | root.aboutActionTriggered() | 114 | root.aboutActionTriggered() | ||
112 | } | 115 | } | ||
113 | } | 116 | } | ||
117 | | ||||
118 | | ||||
119 | MenuIcon { | ||||
120 | text: qsTr("Bookmarks") | ||||
121 | anchors.leftMargin: Screen.pixelDensity * 2 | ||||
122 | anchors.rightMargin: anchors.leftMargin | ||||
123 | onTriggered: { | ||||
124 | root.close() | ||||
125 | root.bookmarkActionTriggered() | ||||
126 | } | ||||
127 | } | ||||
114 | } | 128 | } | ||
115 | 129 | | |||
116 | Dialog { | 130 | Kirigami.Dialog { | ||
117 | id: publicTransportDialog | 131 | id: publicTransportDialog | ||
118 | title: qsTr("Public Transport") | 132 | title: qsTr("Public Transport") | ||
119 | 133 | | |||
Context not available. | |||||
126 | } | 140 | } | ||
127 | } | 141 | } | ||
128 | 142 | | |||
129 | Dialog { | 143 | Kirigami.Dialog { | ||
130 | id: outdoorActivitiesDialog | 144 | id: outdoorActivitiesDialog | ||
131 | title: qsTr("Outdoor Activities") | 145 | title: qsTr("Outdoor Activities") | ||
132 | 146 | | |||
Context not available. |