ValueButtonAlignRight {
id: caCertFilename
label: "CA cert"
- value: "Select"
+ value: VpnControl.caCertFile
+ placeholderText: "Select"
width: parent.width
onClicked: {
_fileDialogue = 1
ValueButtonAlignRight {
id: clientCertFilename
- value: "Select"
+ value: ((VpnControl.clientCertFile === "") ? "Select" : VpnControl.clientCertFile)
label: "Client cert"
width: parent.width
onClicked: {
ValueButtonAlignRight {
id: clientKeyFilename
- value: "Select"
+ value: ((VpnControl.clientKeyFile === "") ? "Select" : VpnControl.clientKeyFile)
label: "Client key"
width: parent.width
onClicked: {
ValueButtonAlignRight {
id: tlsKeyFilename
- value: "Select"
+ value: ((VpnControl.tlsKeyFile === "") ? "Select" : VpnControl.tlsKeyFile)
label: "TLS key"
width: parent.width
enabled: configureTLS.checked
VpnControl.setUseTLS(configureTLS.checked)
VpnControl.setTlsDirection(configureTLSdirection.currentIndex)
VpnControl.updateConfiguration()
+ VpnControl.setCaCertFile(caCertFilename.value)
+ VpnControl.setClientCertFile(clientCertFilename.value)
+ VpnControl.setClientKeyFile(clientKeyFilename.value)
+ VpnControl.setTlsKeyFile(tlsKeyFilename.value)
}
-
}
-
-
-
-
-