-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSoundInput.qml
39 lines (33 loc) · 965 Bytes
/
SoundInput.qml
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
import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Layouts 1.1
Item {
anchors.fill: parent
Column {
id: column1
anchors.fill: parent
GroupBox {
id: groupBox1
flat: true
Layout.fillWidth: true
Row {
id: row1
spacing: 5
anchors.fill: parent
Label {
id: textAudioDevice
text: qsTr("audio device name")
anchors.verticalCenter: parent.verticalCenter
}
TextField {
id: textAudioDeviceName
text: config.audioDeviceName
placeholderText: qsTr("device name")
Component.onCompleted: {
config.audioDeviceName = Qt.binding(function() {return text})
}
}
}
}
}
}