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:
parent
6a15f9a652
commit
995f9ffc03
2 changed files with 22 additions and 13 deletions
|
@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue