Preparing to add html as a presentation option

This commit is contained in:
Chris Cochrun 2023-04-27 14:17:59 -05:00
parent ff680b9549
commit e8b042df54
8 changed files with 52 additions and 301 deletions

View file

@ -3,6 +3,7 @@ import QtQuick.Controls 2.15 as Controls
import QtQuick.Layouts 1.15
import QtMultimedia 5.15
/* import QtAudioEngine 1.15 */
import QtWebEngine 1.10
import QtGraphicalEffects 1.15
import org.kde.kirigami 2.13 as Kirigami
import "./" as Presenter
@ -18,6 +19,7 @@ Item {
property real textSize: 50
property bool dropShadow: false
property url imageSource
property url webSource
property url videoSource
property url audioSource
property bool vidLoop
@ -165,6 +167,12 @@ Item {
}
}
}
WebEngine {
id: web
anchors.fill: parent
source: webSource
}
}
function changeText(text) {