-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
40 lines (30 loc) · 907 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Onkyo ISCP library for Qt.
Possible to use from QtQuick, example:
import org.tal.qiscp 1.0
...
QISCP {
id: iscp
onDevicesDiscovered: {
var devices=iscp.getDevices();
hostsModel.clear();
for (var i=0;i<devices.length;i++) {
hostsModel.append(devices[i]);
}
if (devices.length==1) {
connectToDevice(devices[0]);
}
inputsModel.clear();
var inputs=iscp.getInputs();
for (var i=0;i<inputs.length;i++) {
inputsModel.append(inputs[i]);
}
}
onPresetsList: {
presetsModel.clear();
var p=iscp.getPresets();
for (var i=0;i<p.length;i++) {
presetsModel.append(p[i]);
}
}
}
...