+ Button{
+ id: scanButton
+ anchors{bottom: addressRow.top; bottomMargin: 10; horizontalCenter: parent.horizontalCenter}
+ enabled: true
+
+ text: "Scan"
+
+ onClicked: {
+ btDiscovery.discovery = true
+ }
+ }
+
+ Row{
+ id: addressRow
+ spacing: 5
+ anchors{bottom: infoText.top; bottomMargin: 10; horizontalCenter: parent.horizontalCenter}
+
+ TextField{
+ id: addressField
+ text: "No device found yet."
+
+ onTextChanged: {
+ connectButton.enabled = true
+ infoText.text = "Press \"Connect\" to connect to the device."
+ }
+ }
+ TextField{
+ id: portField
+ text: "-"
+ width: 60
+ validator: IntValidator{}
+ }
+ }
+