addressField.enabled = true
portField.enabled = true
- connectButton.enabled = (addressField.text !== "No device found yet.")
- infoText.text = (addressField.text !== "No device found yet.") ?
+ connectButton.enabled = (addressField.text !== "No Zeemote found yet.")
+ infoText.text = (addressField.text !== "No Zeemote found yet.") ?
"To enable remote control please press \"Connect\" when ready." :
"Please scan for a Zeemote first."
}
PropertyChanges {
target: infoText
- text: "Press \"Connect\" to connect to the device."
+ text: "To enable remote control please press \"Connect\" when ready."
}
}
]
TextField{
id: addressField
- text: "No device found yet."
+ text: "No Zeemote found yet."
onTextChanged: {
if(mainPage.initializing)
return
- if(text === "No device found yet.")
+ if(text === "No Zeemote found yet.")
return
updateConnectAndScanButton();
addressField.enabled = true
portField.enabled = true
- if(addressField.text !== "No device found yet." && portField.text !== "na"){
- infoText.text = "Device found. You can now connect."
+ if(addressField.text !== "No Zeemote found yet." && portField.text !== "na"){
+ infoText.text = "Zeemote found. To enable remote control please press \"Connect\" when ready."
connectButton.enabled = true
}
}