Create icon files, begin writing playback system

This commit is contained in:
Dark Steveneq
2025-10-12 18:09:34 +02:00
parent 5811933326
commit b48a29935d
8 changed files with 85 additions and 21 deletions

View File

@@ -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
}
}