Files
qyouradio/Main.qml

55 lines
1.2 KiB
QML
Raw Normal View History

2025-10-11 02:30:58 +02:00
import QtQuick 6.8
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-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")
ColumnLayout {
anchors.fill: parent
anchors.margins: 10
2025-10-11 17:55:56 +02:00
TabBar {
id: tabbar
Layout.fillWidth: true
spacing: 10
TabButton {
2025-10-11 17:55:56 +02:00
text: qsTr("Autoradio")
}
TabButton {
text: qsTr("Live Mix")
2025-10-11 17:55:56 +02:00
}
TabButton {
text: qsTr("Deep Bass")
}
TabButton {
2025-10-11 17:55:56 +02:00
text: qsTr("Settings")
}
}
StackLayout {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.margins: 10
2025-10-11 17:55:56 +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
}
}
}