Create icon files, begin writing playback system
This commit is contained in:
35
Main.qml
35
Main.qml
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user