Port to Sailfish Silica
This commit is contained in:
parent
51c6391249
commit
1d12cf8ac9
25 changed files with 206 additions and 756 deletions
|
@ -19,10 +19,11 @@
|
|||
*/
|
||||
|
||||
import QtQuick 2.0
|
||||
import Sailfish.Silica 1.0
|
||||
|
||||
import 'constants.js' as Constants
|
||||
|
||||
SlidePage {
|
||||
Page {
|
||||
id: playerPage
|
||||
|
||||
property string episodeTitle
|
||||
|
@ -33,7 +34,7 @@ SlidePage {
|
|||
});
|
||||
}
|
||||
|
||||
Flickable {
|
||||
SilicaFlickable {
|
||||
id: flickable
|
||||
anchors.fill: parent
|
||||
|
||||
|
@ -46,7 +47,7 @@ SlidePage {
|
|||
width: playerPage.width
|
||||
spacing: 10 * pgst.scalef
|
||||
|
||||
SlidePageHeader {
|
||||
PageHeader {
|
||||
title: 'Now playing'
|
||||
}
|
||||
|
||||
|
@ -68,14 +69,13 @@ SlidePage {
|
|||
]
|
||||
}
|
||||
|
||||
PSlider {
|
||||
Slider {
|
||||
width: playerPage.width
|
||||
value: player.playbackRate
|
||||
min: 0.5
|
||||
max: 3.0
|
||||
onValueChangeRequested: {
|
||||
player.playbackRate = newValue
|
||||
value = player.playbackRate
|
||||
minimumValue: 0.5
|
||||
maximumValue: 3.0
|
||||
onSliderValueChanged: {
|
||||
player.playbackRate = sliderValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue