add video_thumbnail additional

The actual code to generate thumbnails is still in C++ but I've added
a helper method to Rust now. It still needs connected.
This commit is contained in:
Chris Cochrun 2023-04-01 06:52:02 -05:00
parent 6a15f9a652
commit 995f9ffc03
2 changed files with 22 additions and 13 deletions

View file

@ -36,10 +36,10 @@ Item {
implicitHeight: parent.height - Kirigami.Units.smallSpacing * 2
textSize: model.fontSize
itemType: model.type
imageSource: model.videoBackground != "" ? model.vidThumbnail : model.imageBackground
imageSource: model.videoBackground != "" ? model.videoThumbnail : model.imageBackground
chosenFont: model.font
text: model.text
pdfIndex: slideIndex
pdfIndex: model.slideId
}
}