aboutsummaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-06-06 14:56:41 +0200
committerAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-06-06 16:43:05 +0200
commitfe635f112bec38808dc36357ba601af6f8c26c46 (patch)
tree10fe390dfc0581e458181a6feb718714918d3798 /qml
parent473e4b514ff411a1d4372f29eccea616d7ea4c60 (diff)
update libdash
Change-Id: Ia2c54574018d8d84c524c7b4da43cb2317d46f0e Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'qml')
-rwxr-xr-xqml/Viper/OpenMpd.qml44
1 files changed, 27 insertions, 17 deletions
diff --git a/qml/Viper/OpenMpd.qml b/qml/Viper/OpenMpd.qml
index d821f072..c32fb7d7 100755
--- a/qml/Viper/OpenMpd.qml
+++ b/qml/Viper/OpenMpd.qml
@@ -55,24 +55,34 @@ Rectangle {
return rowMulti * item.Layout.rowSpan
}
- ComboBox {
- z: parent.z + 1
- id: comboBoxList
- Layout.rowSpan : 1
- Layout.columnSpan : 2
- Layout.preferredWidth : parent.colMulti * 2 + Utils.scaled(5) //grid.prefWidth(this)
- Layout.preferredHeight : parent.rowMulti//grid.prefHeight(this)
-
- onCurrentIndexChanged: {
- }
+ TextInput {
- model: ListModel {
- id: mpdItems
- ListElement { text: "gastown"; }
- ListElement { text: "sintel"; }
- }
- currentIndex: find(lastPlayed)
+ id: sourceTextInput
+ text: lastPlayed
+ Layout.rowSpan : 1
+ Layout.columnSpan : 2
+ Layout.preferredWidth : parent.colMulti * 2 + Utils.scaled(5) //grid.prefWidth(this)
+ Layout.preferredHeight : parent.rowMulti//grid.prefHeight(this)
+ color: "white"
}
+ // ComboBox {
+ // z: parent.z + 1
+ // id: comboBoxList
+ // Layout.rowSpan : 1
+ // Layout.columnSpan : 2
+ // Layout.preferredWidth : parent.colMulti * 2 + Utils.scaled(5) //grid.prefWidth(this)
+ // Layout.preferredHeight : parent.rowMulti//grid.prefHeight(this)
+ //
+ // onCurrentIndexChanged: {
+ // }
+
+ // model: ListModel {
+ // id: mpdItems
+ // ListElement { text: "gastown"; }
+ // ListElement { text: "sintel"; }
+ // }
+ // currentIndex: find(lastPlayed)
+ //}
Button {
id: cancelBtn
@@ -98,7 +108,7 @@ Rectangle {
Layout.preferredHeight : grid.prefHeight(this)
text: "Download"
onClicked: {
- saveAndPlayMpd(mpdItems.get(comboBoxList.currentIndex).text)
+ saveAndPlayMpd(sourceTextInput.text)
closeOpenMpd();
}