2025-10-11 02:30:58 +02:00
|
|
|
import QtQuick 6.8
|
2025-10-12 03:10:14 +02:00
|
|
|
import QtQuick.Controls 6.8
|
|
|
|
|
import QtQuick.Controls.Basic 6.8
|
2025-10-11 02:30:58 +02:00
|
|
|
import QtQuick.Layouts 6.8
|
2025-10-12 03:10:14 +02:00
|
|
|
|
2025-10-11 02:30:58 +02:00
|
|
|
import QYRComponents 1.0
|
|
|
|
|
|
|
|
|
|
ApplicationWindow {
|
2025-10-11 17:55:56 +02:00
|
|
|
width: 1280
|
|
|
|
|
height: 800
|
2025-10-11 02:30:58 +02:00
|
|
|
title: qsTr("Hello World")
|
|
|
|
|
|
2025-10-12 03:10:14 +02:00
|
|
|
ColumnLayout {
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
anchors.margins: 10
|
2025-10-11 17:55:56 +02:00
|
|
|
|
2025-10-12 03:10:14 +02:00
|
|
|
TabBar {
|
|
|
|
|
id: tabbar
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
spacing: 10
|
|
|
|
|
TabButton {
|
2025-10-11 17:55:56 +02:00
|
|
|
text: qsTr("Autoradio")
|
|
|
|
|
}
|
2025-10-12 03:10:14 +02:00
|
|
|
TabButton {
|
|
|
|
|
text: qsTr("Live Mix")
|
2025-10-11 17:55:56 +02:00
|
|
|
}
|
2025-10-12 03:10:14 +02:00
|
|
|
TabButton {
|
|
|
|
|
text: qsTr("Deep Bass")
|
|
|
|
|
}
|
|
|
|
|
TabButton {
|
2025-10-11 17:55:56 +02:00
|
|
|
text: qsTr("Settings")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-12 03:10:14 +02:00
|
|
|
StackLayout {
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
Layout.fillHeight: true
|
|
|
|
|
Layout.margins: 10
|
2025-10-11 17:55:56 +02:00
|
|
|
|
2025-10-12 03:10:14 +02:00
|
|
|
currentIndex: tabbar.currentIndex
|
|
|
|
|
ViewPlayer {
|
|
|
|
|
title: qsTr("Autoradio")
|
|
|
|
|
}
|
|
|
|
|
ViewPlayer {
|
|
|
|
|
title: qsTr("Live Radio")
|
|
|
|
|
}
|
|
|
|
|
ViewPlayer {
|
|
|
|
|
title: qsTr("Deep Bass")
|
|
|
|
|
}
|
|
|
|
|
ViewSettings {
|
|
|
|
|
}
|
2025-10-11 02:30:58 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|