Add seek buttons to PlayerPage

This commit is contained in:
Thomas Perl 2014-02-04 23:21:07 +01:00
parent 79ecd8fbe4
commit 84dc9cbf01
5 changed files with 24 additions and 0 deletions

View file

@ -74,6 +74,30 @@ SlidePage {
}
}
}
IconMenuItem {
text: '-1m'
iconSource: 'icons/first_32x32.png'
onClicked: player.seekAndSync(player.position - 60 * 1000);
}
IconMenuItem {
text: '-10s'
iconSource: 'icons/arrow_left_32x32.png'
onClicked: player.seekAndSync(player.position - 10 * 1000);
}
IconMenuItem {
text: '+10s'
iconSource: 'icons/arrow_right_32x32.png'
onClicked: player.seekAndSync(player.position + 10 * 1000);
}
IconMenuItem {
text: '+1m'
iconSource: 'icons/last_32x32.png'
onClicked: player.seekAndSync(player.position + 60 * 1000);
}
}
PLabel {

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

BIN
touch/icons/first_32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

BIN
touch/icons/last_32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B