Create icon files, begin writing playback system
This commit is contained in:
@@ -63,7 +63,15 @@ ColumnLayout {
|
||||
|
||||
Button {
|
||||
Layout.rightMargin: 5
|
||||
text: "Play"
|
||||
text: Player.loading ? "Loading" : (Player.playing ? "Pause" : "Play")
|
||||
|
||||
onClicked: function() {
|
||||
if (Player.playing) {
|
||||
Player.stopPlaying();
|
||||
} else {
|
||||
Player.startPlaying(parent.parent.streamURL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Slider {
|
||||
@@ -78,9 +86,4 @@ ColumnLayout {
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
YouAds {
|
||||
Layout.fillWidth: false
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user