summaryrefslogtreecommitdiffstats
path: root/app/wired/Wired.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/wired/Wired.qml')
-rw-r--r--app/wired/Wired.qml30
1 files changed, 26 insertions, 4 deletions
diff --git a/app/wired/Wired.qml b/app/wired/Wired.qml
index a200824..6e3e28b 100644
--- a/app/wired/Wired.qml
+++ b/app/wired/Wired.qml
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-import QtQuick 2.6
+import QtQuick 2.11
import QtQuick.Layouts 1.1
-import QtQuick.Controls 2.0
+import QtQuick.Controls 2.4
import AGL.Demo.Controls 1.0
import ".."
@@ -40,7 +40,7 @@ SettingPage {
id: networkNameText
text: service
color: '#66FF99'
- font.pixelSize: 48
+ font.pixelSize: 38
font.bold: sstate === "ready"
|| sstate === "online"
}
@@ -52,6 +52,29 @@ SettingPage {
color: "white"
}
}
+ Column {
+ anchors.left: networkName.right
+ anchors.leftMargin: 50
+ Button {
+ visible: sstate === "ready"
+ || sstate === "online"
+ font.pixelSize: 18
+ text: "CONFIGURE"
+ onClicked: {
+ customconf.open()
+ }
+
+ ConfigDialog {
+ id: customconf
+ parent: Overlay.overlay
+ maxpwidth: 744
+ maxpheight: 744
+ xpos: (parent.width - maxpwidth)/2
+ ypos: (parent.height - maxpheight)
+ serviceName: service
+ }
+ }
+ }
onClicked: {
if ((sstate === "ready") || sstate === "online") {
console.log("Disconnecting from ->", service)
@@ -88,6 +111,5 @@ SettingPage {
onInputRequest: {
console.log("Only unauthenticated access implemented for wired")
}
-
}
}