ui for a ProgressBar that shows the state of saving the presentation
This commit is contained in:
parent
a2ba6e70bd
commit
77e98c4682
2 changed files with 29 additions and 5 deletions
|
@ -39,6 +39,7 @@ Controls.Page {
|
|||
property int dragItemSlideNumber
|
||||
|
||||
property bool editing: true
|
||||
property int progress: 0
|
||||
|
||||
property Item slideItem
|
||||
property var song
|
||||
|
@ -54,6 +55,7 @@ Controls.Page {
|
|||
|
||||
property var dragHighlightLine
|
||||
|
||||
|
||||
Component.onCompleted: {
|
||||
changeServiceItem(0);
|
||||
presentation.forceActiveFocus();
|
||||
|
@ -180,6 +182,13 @@ Controls.Page {
|
|||
/* songModel: songProxyModel.songModel() */
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: ServiceItemModel
|
||||
function saveProgressUpdate(progress) {
|
||||
mainPage.progress = progress;
|
||||
}
|
||||
}
|
||||
|
||||
function changeServiceItem(index) {
|
||||
console.log("change-service-item: " + index);
|
||||
const item = ServiceItemC.getRust(index, ServiceItemModel);
|
||||
|
@ -314,7 +323,7 @@ Controls.Page {
|
|||
editMode = false;
|
||||
refocusPresentation();
|
||||
footerFirstText = presenting ? "Presenting..." : "Presentation Preview";
|
||||
footerSecondText = ObsModel.currentProgramScene;
|
||||
footerSecondText = ObsModel.currentProgramScene
|
||||
}
|
||||
} else {
|
||||
videoEditor.visible = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue