Tweaking verse_order in the songEditor.qml so it shows up
This commit is contained in:
parent
b83c8a7984
commit
d82a0ac503
2 changed files with 10 additions and 6 deletions
|
@ -297,7 +297,7 @@ Item {
|
|||
Layout.rightMargin: 20
|
||||
|
||||
placeholderText: "verse order..."
|
||||
text: song.vorder
|
||||
text: song.verseOrder
|
||||
padding: 10
|
||||
onEditingFinished: updateVerseOrder(text);
|
||||
background: Presenter.TextBackground {
|
||||
|
@ -447,6 +447,10 @@ Item {
|
|||
id: songList
|
||||
imageBackground: songEditorModel.backgroundType === "image" ? songEditor.background : ""
|
||||
videoBackground: songEditorModel.backgroundType === "video" ? songEditor.background : ""
|
||||
font: songEditorModel.font
|
||||
fontSize: songEditorModel.fontSize
|
||||
/* hTextAlignment: songEditorModel.horizontalTextAlignment */
|
||||
/* vTextAlignment: songEditorModel.verticalTextAlignment */
|
||||
Layout.preferredWidth: 500
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
@ -554,9 +558,9 @@ Item {
|
|||
}
|
||||
|
||||
function updateVerseOrder(vorder) {
|
||||
songProxyModel.songModel.updateVerseOrder(songIndex, vorder)
|
||||
songEditorModel.verseOrder = vorder;
|
||||
songEditorModel.checkVerseOrder();
|
||||
songProxyModel.songModel.updateVerseOrder(songIndex, vorder)
|
||||
}
|
||||
|
||||
function updateAudioFile() {
|
||||
|
|
|
@ -74,8 +74,8 @@ Item {
|
|||
videoSource: root.videoBackground
|
||||
hTextAlignment: root.hTextAlignment
|
||||
vTextAlignment: root.vTextAlignment
|
||||
chosenFont: font
|
||||
textSize: fontSize
|
||||
chosenFont: root.font
|
||||
textSize: root.fontSize
|
||||
preview: true
|
||||
text: verse
|
||||
implicitWidth: slideList.width
|
||||
|
@ -163,13 +163,13 @@ Item {
|
|||
}
|
||||
|
||||
function loadVideo() {
|
||||
showPassiveNotification("I'm loading the videos");
|
||||
console.log("I'm loading the videos");
|
||||
for (var i = 0; i < slideList.count; ++i) {
|
||||
slideList.currentIndex = i;
|
||||
slideList.currentItem.representation.loadVideo();
|
||||
console.log(slideList.currentItem);
|
||||
}
|
||||
showPassiveNotification("I loaded the videos");
|
||||
console.log("I loaded the videos");
|
||||
}
|
||||
|
||||
function clear() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue