Changeset View
Changeset View
Standalone View
Standalone View
mobile/wifi/package/contents/ui/main.qml
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Line(s) | 123 | Kirigami.Action { | |||
---|---|---|---|---|---|
125 | text: i18n("Saved Connections") | 125 | text: i18n("Saved Connections") | ||
126 | checkable: true | 126 | checkable: true | ||
127 | checked: false | 127 | checked: false | ||
128 | onTriggered: { | 128 | onTriggered: { | ||
129 | mobileProxyModel.showSavedMode = !mobileProxyModel.showSavedMode | 129 | mobileProxyModel.showSavedMode = !mobileProxyModel.showSavedMode | ||
130 | } | 130 | } | ||
131 | } | 131 | } | ||
132 | ] | 132 | ] | ||
133 | /* | | |||
134 | footer: Controls.Button { | | |||
135 | width: parent.width | | |||
136 | text: "ContextualActions" | | |||
137 | iconName: "edit" | | |||
138 | onClicked: bottomDrawer.open() | | |||
139 | } | | |||
140 | 133 | | |||
141 | Kirigami.OverlayDrawer { | 134 | Kirigami.OverlayDrawer { | ||
142 | id: bottomDrawer | | |||
143 | edge: Qt.BottomEdge | | |||
144 | contentItem: Item { | | |||
145 | implicitHeight: childrenRect.height + Kirigami.Units.gridUnit | | |||
146 | ColumnLayout{ | | |||
147 | anchors.centerIn: parent | | |||
148 | Controls.Button { | | |||
149 | text: "Add custom connection" | | |||
150 | onClicked: applicationWindow().pageStack.push(connectionEditorDialogComponent) | | |||
151 | } | | |||
152 | Controls.Button { | | |||
153 | text: "Create Hotspot" | | |||
154 | onClicked: showPassiveNotification("Open tethering") | | |||
155 | } | | |||
156 | Item { | | |||
157 | Layout.minimumHeight: Units.gridUnit * 4 | | |||
158 | } | | |||
159 | } | | |||
160 | } | | |||
161 | } | | |||
162 | */ | | |||
163 | Kirigami.OverlayDrawer { | | |||
164 | id: deleteConnectionDialog | 135 | id: deleteConnectionDialog | ||
165 | property var name | 136 | property var name | ||
166 | property var dbusPath | 137 | property var dbusPath | ||
167 | edge: Qt.BottomEdge | 138 | edge: Qt.BottomEdge | ||
168 | 139 | | |||
169 | contentItem: Column { | 140 | contentItem: Column { | ||
170 | anchors.centerIn: parent | 141 | anchors.centerIn: parent | ||
171 | spacing: Kirigami.Units.largeSpacing | 142 | spacing: Kirigami.Units.largeSpacing | ||
Show All 28 Lines |