Commit ad7468b3 authored by Martin Kacej's avatar Martin Kacej

hotspot settings UI base

parent 708f003b
......@@ -35,30 +35,30 @@ Kirigami.ScrollablePage{
ColumnLayout{
id: columnlayout
anchors.horizontalCenter: parent.horizontalCenter
// anchors.horizontalCenter: parent.horizontalCenter
Controls.Label {
text: i18n("SSID")
font.weight: Font.Bold
anchors.horizontalCenter: parent.horizontalCenter
//anchors.horizontalCenter: parent.horizontalCenter
}
Controls.TextField {
id: ssidField
anchors.horizontalCenter: parent.horizontalCenter
//anchors.horizontalCenter: parent.horizontalCenter
placeholderText: i18n("None")
}
IPDetailsSection {
id: editorIpSection
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
//anchors.horizontalCenter: parent.horizontalCenter
}
SecuritySection {
id: editorSecuritySection
anchors.topMargin: units.gridUnit
anchors.horizontalCenter: parent.horizontalCenter
//anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
}
}
......
......@@ -62,7 +62,7 @@ Kirigami.ScrollablePage {
iconName: "edit"
text: i18n("Create Hotspot")
onTriggered: {
//applicationWindow().pageStack.push(tetheringComponent)
applicationWindow().pageStack.push(tetheringComponent)
}
},
Kirigami.Action {
......
import QtQuick 2.6
import QtQuick.Controls 2.2 as Controls
import QtQuick.Layouts 1.3
import org.kde.plasma.networkmanagement 0.2 as PlasmaNM
import org.kde.kirigami 2.2 as Kirigami
Kirigami.Page {
header: RowLayout {
width: parent.width
Controls.Label {
text: "Wi-fi hotspot"
}
Controls.Switch {
}
}
Column {
Controls.Label {
text: i18n("SSID")
font.weight: Font.Bold
}
Controls.TextField {
id: hotSpotName
text: i18n("My Hotspot")
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment