blob: 5d7c51be6c32922d637706e2eb8f6c788c427b5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import QtQuick 2.0
import com.ford.phonecore 1.0
import "../../Components"
Item {
ListView {
anchors.horizontalCenter: parent.horizontalCenter
width: 300
anchors.top: parent.top
anchors.bottom: parent.bottom
spacing: 10
delegate: Button {
text: name
width: parent.width
onPress: bluetooth_devices.createPairedDevice(mac)
}
model: BluetoothDiscoveredDevices {
id: bluetooth_devices
}
}
}
|