PresentationApp/qml/songEdit.qml

130 lines
2.9 KiB
QML
Raw Normal View History

2016-04-18 10:24:24 -07:00
import QtQuick 2.4
import QtQuick.Controls 1.3
import QtQuick.Window 2.0
ApplicationWindow {
id: songEdit
title: "Song Editor"
visible: true
objectName: "SongEdit"
menuBar: MenuBar {
Menu {
title: "&File"
MenuItem {
text: "Close"
}
}
Menu {
title: "&Edit"
MenuItem {
text: "quick edit"
objectName: "mnuEdit"
}
}
Menu {
title: "Window"
MenuItem {
text: "Display"
objectName: "mnuDisplay"
}
}
Menu {
title: "&Help"
MenuItem {
action: aboutAction
}
}
}
2016-04-20 10:45:52 -07:00
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
}
}
2016-04-18 10:24:24 -07:00
SplitView {
2016-04-20 10:45:52 -07:00
2016-04-18 10:24:24 -07:00
ListView {
2016-04-20 10:45:52 -07:00
width: 180
height: 200
2016-04-18 10:24:24 -07:00
boundsBehavior: Flickable.StopAtBounds
model: ListModel {
ListElement {
name: "v1"
}
ListElement {
name: "v2"
}
ListElement {
name: "v3"
}
ListElement {
name: "v4"
}
ListElement {
name: "v5"
}
2016-04-20 10:45:52 -07:00
}
delegate: Component {
id: contactsDelegate
Text {
id: contactInfo
text: name
2016-04-18 10:24:24 -07:00
}
2016-04-20 10:45:52 -07:00
}
focus: true
}
ListView {
width: 180
height: 200
boundsBehavior: Flickable.StopAtBounds
model: ListModel {
2016-04-18 10:24:24 -07:00
ListElement {
2016-04-20 10:45:52 -07:00
name: "v1"
2016-04-18 10:24:24 -07:00
}
ListElement {
2016-04-20 10:45:52 -07:00
name: "v2"
2016-04-18 10:24:24 -07:00
}
ListElement {
2016-04-20 10:45:52 -07:00
name: "v3"
2016-04-18 10:24:24 -07:00
}
ListElement {
2016-04-20 10:45:52 -07:00
name: "v4"
2016-04-18 10:24:24 -07:00
}
ListElement {
2016-04-20 10:45:52 -07:00
name: "v5"
2016-04-18 10:24:24 -07:00
}
}
delegate: Component {
2016-04-20 10:45:52 -07:00
id: contactsDelegate1
Text {
id: contactInfo
text: name
}
2016-04-18 10:24:24 -07:00
}
focus: true
}
}
2016-04-20 10:45:52 -07:00
TextArea {
id: textArea
}
2016-04-18 10:24:24 -07:00
}