basic implementation of having reveal.js slides working
There is still a lot of work needed to be done here, but the basics are laid out.
This commit is contained in:
parent
b05af23ffa
commit
c33b5af588
8 changed files with 88 additions and 24 deletions
|
@ -20,6 +20,7 @@ Item {
|
|||
property bool dropShadow: false
|
||||
property url imageSource
|
||||
property url webSource
|
||||
property bool htmlVisible: false
|
||||
property url videoSource
|
||||
property url audioSource
|
||||
property bool vidLoop
|
||||
|
@ -128,7 +129,7 @@ Item {
|
|||
source: imageSource
|
||||
fillMode: itemType == "song" ? Image.PreserveAspectCrop : Image.PreserveAspectFit
|
||||
clip: true
|
||||
visible: true
|
||||
visible: webSource.length == 0
|
||||
currentFrame: pdfIndex
|
||||
}
|
||||
|
||||
|
@ -172,7 +173,11 @@ Item {
|
|||
id: web
|
||||
anchors.fill: parent
|
||||
url: webSource
|
||||
visible: false
|
||||
visible: htmlVisible
|
||||
onLoadingChanged: {
|
||||
if (loadRequest.status == 2)
|
||||
showPassiveNotification("YAHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue