Initial player integration using Qt Multimedia

This commit is contained in:
Thomas Perl 2013-09-24 22:12:12 +02:00
parent a333def9c1
commit 844c133017
13 changed files with 306 additions and 14 deletions

View file

@ -21,25 +21,13 @@
import QtQuick 2.0
import io.thp.pyotherside 1.0
Rectangle {
Item {
id: pgst
property bool ready: false
property real scalef: width / 480
anchors.fill: parent
color: '#336688'
Image {
anchors.fill: parent
source: 'images/mask.png'
}
Image {
anchors.fill: parent
source: 'images/noise.png'
fillMode: Image.Tile
}
function update(page, x) {
var index = -1;
@ -97,6 +85,10 @@ Rectangle {
}
}
Player {
id: player
}
PBusyIndicator {
anchors.centerIn: parent
visible: !pgst.ready