some changes to the gridview and presentation previewer

This commit is contained in:
Chris Cochrun 2023-01-31 13:54:44 -06:00
parent 1dfe58c996
commit ca399bb8cd
3 changed files with 161 additions and 118 deletions

View file

@ -9,6 +9,7 @@ Item {
id: root
implicitHeight: Kirigami.Units.gridUnit * 6.5
implicitWidth: Kirigami.Units.gridUnit * 10
property bool showVidBG
Rectangle {
id: previewHighlight
anchors.centerIn: parent
@ -31,7 +32,7 @@ Item {
textSize: model.fontSize
itemType: model.type
imageSource: model.imageBackground
videoSource: model.videoBackground
videoSource: showVidBG ? model.videoBackground : ""
audioSource: ""
chosenFont: model.font
text: model.text