a bit of updating and making pdfs work better

This commit is contained in:
Chris Cochrun 2022-09-24 14:58:17 -05:00
parent 6866b86a20
commit d8aca3d149
7 changed files with 31 additions and 27 deletions

View file

@ -1,4 +1,4 @@
import QtQuick 2.13
import QtQuick 2.15
import QtQuick.Dialogs 1.0
import QtQuick.Controls 2.15 as Controls
import QtQuick.Window 2.13
@ -13,9 +13,9 @@ Item {
property var text
property int textIndex: 0
property string itemType
property url imagebackground
property url vidbackground
property string itemType: SlideObject.type
property url imagebackground: SlideObject.imageBackground
property url vidbackground: SlideObject.videoBackground
property Item slide: previewSlide
@ -88,9 +88,10 @@ Item {
Layout.alignment: Qt.AlignCenter
textSize: width / 15
itemType: root.itemType
imageSource: SlideObject.imageBackground
videoSource: SlideObject.videoBackground
imageSource: imagebackground
videoSource: vidbackground
text: SlideObject.text
pdfIndex: SlideObject.pdfIndex
preview: true
}