add text area and comboboxes

This commit is contained in:
lordwelch 2016-04-20 10:45:52 -07:00
parent 3211600204
commit f0c8b93a22

90
qml/songEdit.qml Normal file → Executable file
View File

@ -39,14 +39,32 @@ ApplicationWindow {
}
}
}
GroupBox {
anchors.top: parent
anchors.bottom: textArea
ComboBox {
id: verseSelector
model: ["V1", "V2"]
anchors.left: parent
anchors.right: imageSelector
anchors.top: parent
anchors.bottom: parent
}
ComboBox {
id: imageSelector
anchors.left: verseSelector
anchors.right: parent
anchors.top: parent
anchors.bottom: parent
}
}
SplitView {
ListView {
width: 180; height: 200
width: 180
height: 200
boundsBehavior: Flickable.StopAtBounds
model: ListModel {
ListElement {
name: "v1"
@ -63,36 +81,6 @@ ApplicationWindow {
ListElement {
name: "v5"
}
ListElement {
name: "v6"
}
ListElement {
name: "v7"
}
ListElement {
name: "v8"
}
ListElement {
name: "v9"
}
ListElement {
name: "v10"
}
ListElement {
name: "v11"
}
ListElement {
name: "v12"
}
ListElement {
name: "v13"
}
ListElement {
name: "v14"
}
ListElement {
name: "v15"
}
}
delegate: Component {
id: contactsDelegate
@ -103,5 +91,39 @@ ApplicationWindow {
}
focus: true
}
ListView {
width: 180
height: 200
boundsBehavior: Flickable.StopAtBounds
model: ListModel {
ListElement {
name: "v1"
}
ListElement {
name: "v2"
}
ListElement {
name: "v3"
}
ListElement {
name: "v4"
}
ListElement {
name: "v5"
}
}
delegate: Component {
id: contactsDelegate1
Text {
id: contactInfo
text: name
}
}
focus: true
}
}
TextArea {
id: textArea
}
}