add paired devices
This commit is contained in:
parent
149dae4c2e
commit
622604ad08
2 changed files with 69 additions and 4 deletions
|
|
@ -62,10 +62,12 @@ StyledPopupWindow {
|
|||
text: "Paired Devices"
|
||||
}
|
||||
|
||||
DeviceList {
|
||||
devices: Bluetooth.pairedDevices
|
||||
onDeviceActivated: device => {
|
||||
device.connect();
|
||||
ColumnLayout {
|
||||
Repeater {
|
||||
model: Bluetooth.pairedDevices
|
||||
delegate: PairedDevice {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue