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

@@ -8,7 +8,7 @@ import QYRComponents 1.0
ApplicationWindow {
width: 1280
height: 800
title: qsTr("Hello World")
title: qsTr("QYouRadio")
ColumnLayout {
anchors.fill: parent
@@ -21,12 +21,12 @@ ApplicationWindow {
TabButton {
text: qsTr("Autoradio")
}
TabButton {
text: qsTr("Live Mix")
}
TabButton {
text: qsTr("Deep Bass")
}
// TabButton {
// text: qsTr("Live Mix")
// }
// TabButton {
// text: qsTr("Deep Bass")
// }
TabButton {
text: qsTr("Settings")
}
@@ -40,15 +40,24 @@ ApplicationWindow {
currentIndex: tabbar.currentIndex
ViewPlayer {
title: qsTr("Autoradio")
streamURL: "https://youradio.nonamesoft.xyz/api/autoradio"
}
ViewPlayer {
title: qsTr("Live Radio")
}
ViewPlayer {
title: qsTr("Deep Bass")
}
// ViewPlayer {
// title: qsTr("Live Radio")
// streamURL: "https://youradio.nonamesoft.xyz/api/live"
// }
// ViewPlayer {
// title: qsTr("Deep Bass")
// streamURL: "https://youradio.nonamesoft.xyz/api/deepbass"
// }
ViewSettings {
}
}
YouAds {
Layout.fillWidth: false
Layout.alignment: Qt.AlignHCenter
visible: tabbar.currentIndex != 1
}
}
}