38
38
title: i18n.tr("Network details")
42
41
anchors.fill: parent
53
text: i18n.tr("Last connected")
57
text: networkDetails.lastUsed.length !== 0 ?
58
networkDetails.lastUsed : i18n.tr("Never")
64
text: i18n.tr("Password")
65
visible: networkDetails.password.length !== 0
69
text: networkDetails.password
70
echoMode: passwordVisibleSwitch.checked ?
71
TextInput.Normal : TextInput.Password
77
text: i18n.tr("Show password")
78
visible: networkDetails.password.length !== 0
80
id: passwordVisibleSwitch
87
objectName: "forgetNetwork"
88
text : i18n.tr("Forget this network")
95
DbusHelper.forgetConnection(dbusPath);
42
contentHeight: contentItem.childrenRect.height
43
boundsBehavior: (contentHeight > networkDetails.height) ?
44
Flickable.DragAndOvershootBounds :
45
Flickable.StopAtBounds
46
/* Set the direction to workaround
47
https://bugreports.qt-project.org/browse/QTBUG-31905 otherwise the UI
48
might end up in a situation where scrolling doesn't work */
49
flickableDirection: Flickable.VerticalFlick
53
anchors.left: parent.left
54
anchors.right: parent.right
65
text: i18n.tr("Last connected")
69
text: networkDetails.lastUsed.length !== 0 ?
70
networkDetails.lastUsed : i18n.tr("Never")
76
text: i18n.tr("Password")
77
visible: networkDetails.password.length !== 0
81
text: networkDetails.password
82
echoMode: passwordVisibleSwitch.checked ?
83
TextInput.Normal : TextInput.Password
89
text: i18n.tr("Show password")
90
visible: networkDetails.password.length !== 0
92
id: passwordVisibleSwitch
99
objectName: "forgetNetwork"
100
text : i18n.tr("Forget this network")
107
DbusHelper.forgetConnection(dbusPath);