Improve network page bottom

pull/11/head
cutefishd 5 years ago
parent f604aaa7ed
commit 9da78345d4

@ -40,6 +40,10 @@ ItemPage {
sourceModel: connectionModel
}
NM.Configuration {
id: configuration
}
Component.onCompleted: handler.requestScan()
Timer {
@ -57,6 +61,7 @@ ItemPage {
ColumnLayout {
id: mainLayout
anchors.fill: parent
anchors.bottomMargin: FishUI.Units.largeSpacing
spacing: FishUI.Units.largeSpacing * 2
RoundedItem {
@ -66,6 +71,53 @@ ItemPage {
}
}
// Hotspot
//
// RoundedItem {
// id: hotspotItem
// visible: handler.hotspotSupported
// RowLayout {
// Label {
// text: qsTr("Hotspot")
// color: FishUI.Theme.disabledTextColor
// }
// Item {
// Layout.fillWidth: true
// }
// Switch {
// Layout.fillHeight: true
// rightPadding: 0
// onToggled: {
// if (checked) {
// handler.createHotspot()
// } else {
// handler.stopHotspot()
// }
// }
// }
// }
// Item {
// height: FishUI.Units.largeSpacing
// }
// TextField {
// id: ssidName
// text: configuration.hotspotName
// placeholderText: qsTr("SSID")
// }
// TextField {
// id: hotspotPassword
// placeholderText: qsTr("Password")
// text: configuration.hotspotPassword
// }
// }
// Wired connection
RoundedItem {
visible: enabledConnections.wwanHwEnabled
@ -121,6 +173,10 @@ ItemPage {
}
}
}
Item {
height: FishUI.Units.largeSpacing
}
}
}
}

Loading…
Cancel
Save