attempting to add some more blur to servicelist

This commit is contained in:
Chris Cochrun 2022-10-13 16:30:20 -05:00
parent 4ced8bc4a0
commit 2d276a3c1f
2 changed files with 13 additions and 1 deletions

View file

@ -43,6 +43,8 @@ Controls.Page {
property string editType property string editType
property var currentWindow: presentation
Component.onCompleted: {changeServiceItem(0); presentation.forceActiveFocus();} Component.onCompleted: {changeServiceItem(0); presentation.forceActiveFocus();}
Item { Item {
@ -180,6 +182,7 @@ Controls.Page {
presentationEditor.visible = false; presentationEditor.visible = false;
songEditor.visible = true; songEditor.visible = true;
songEditor.changeSong(item); songEditor.changeSong(item);
currentWindow = songEditor;
break; break;
case "video" : case "video" :
presentation.visible = false; presentation.visible = false;
@ -188,6 +191,7 @@ Controls.Page {
presentationEditor.visible = false; presentationEditor.visible = false;
videoEditor.visible = true; videoEditor.visible = true;
videoEditor.changeVideo(item); videoEditor.changeVideo(item);
currentWindow = videoEditor;
break; break;
case "image" : case "image" :
presentation.visible = false; presentation.visible = false;
@ -197,6 +201,7 @@ Controls.Page {
presentationEditor.visible = false; presentationEditor.visible = false;
imageEditor.visible = true; imageEditor.visible = true;
imageEditor.changeImage(item); imageEditor.changeImage(item);
currentWindow = imageEditor;
break; break;
case "presentation" : case "presentation" :
presentation.visible = false; presentation.visible = false;
@ -206,6 +211,7 @@ Controls.Page {
imageEditor.visible = false; imageEditor.visible = false;
presentationEditor.visible = true; presentationEditor.visible = true;
presentationEditor.changePresentation(item); presentationEditor.changePresentation(item);
currentWindow = presentationEditor;
break; break;
default: default:
videoEditor.visible = false; videoEditor.visible = false;
@ -215,6 +221,7 @@ Controls.Page {
presentationEditor.visible = false; presentationEditor.visible = false;
presentation.visible = true; presentation.visible = true;
presentation.focusTimer = true; presentation.focusTimer = true;
currentWindow = presentation;
editMode = false; editMode = false;
} }
} else { } else {
@ -225,6 +232,7 @@ Controls.Page {
presentationEditor.visible = false; presentationEditor.visible = false;
presentation.visible = true; presentation.visible = true;
presentation.focusTimer = true; presentation.focusTimer = true;
currentWindow = presentation;
editMode = false; editMode = false;
presenting = true; presenting = true;
} }

View file

@ -25,9 +25,13 @@ Item {
FastBlur { FastBlur {
id: backgroundBlur id: backgroundBlur
source: background source: ShaderEffectSource {
sourceItem: background
sourceRect: Qt.rect(0, 0, backgroundBlur.width, backgroundBlur.height)
}
anchors.fill: parent anchors.fill: parent
radius: 82 radius: 82
opacity: 0.60
} }
ColumnLayout { ColumnLayout {