Added resources

This commit is contained in:
2017-08-21 22:35:26 +02:00
parent e076f9aeae
commit 882ed92bc7
4 changed files with 21 additions and 0 deletions

View File

@ -30,12 +30,19 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtMultimedia 5.0
import Pw.Unitoo.Backend 1.0
import "pages"
ApplicationWindow {
BoxingTimer {
id: boxingTimer
onStatusChanged: {
if (status === BoxingTimer.Start) {
bell.play()
}
}
}
BoxingSettings {
@ -47,6 +54,12 @@ ApplicationWindow {
}
}
SoundEffect {
id: bell
source: "qrc:/audio/resources/bell.wav"
}
initialPage: firstPage
cover: Qt.resolvedUrl("cover/CoverPage.qml")
allowedOrientations: Orientation.Portrait