adding backgrounds to preview and changing from left dock
This commit is contained in:
parent
61273e5390
commit
1fa5aa8a0a
5 changed files with 48 additions and 14 deletions
|
@ -62,8 +62,8 @@ Controls.Page {
|
|||
id: mainPageArea
|
||||
Controls.SplitView.fillHeight: true
|
||||
Controls.SplitView.fillWidth: true
|
||||
Controls.SplitView.preferredWidth: 700
|
||||
Controls.SplitView.minimumWidth: 500
|
||||
Controls.SplitView.preferredWidth: 500
|
||||
Controls.SplitView.minimumWidth: 200
|
||||
initialItem: Presenter.Presentation { id: presentation }
|
||||
}
|
||||
|
||||
|
@ -152,11 +152,25 @@ Controls.Page {
|
|||
}
|
||||
|
||||
function changeSlideText(text) {
|
||||
showPassiveNotification("used to be: " + presentation.text);
|
||||
/* showPassiveNotification("used to be: " + presentation.text); */
|
||||
presentation.text = text;
|
||||
showPassiveNotification("next");
|
||||
/* showPassiveNotification("next"); */
|
||||
presentationSlide.text = text;
|
||||
showPassiveNotification("last");
|
||||
/* showPassiveNotification("last"); */
|
||||
}
|
||||
|
||||
function changeSlideBackground(background, type) {
|
||||
showPassiveNotification("starting background change..");
|
||||
showPassiveNotification(background);
|
||||
showPassiveNotification(type);
|
||||
if (type == "image") {
|
||||
presentation.vidbackground = "";
|
||||
presentation.imagebackground = background;
|
||||
} else {
|
||||
presentation.imagebackground = "";
|
||||
presentation.vidbackground = background;
|
||||
presentation.loadVideo()
|
||||
}
|
||||
}
|
||||
|
||||
function editSwitch(edit) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue