Files
qyouradio/Main.qml
2025-10-12 03:10:14 +02:00

55 lines
1.2 KiB
QML
Executable File

import QtQuick 6.8
import QtQuick.Controls 6.8
import QtQuick.Controls.Basic 6.8
import QtQuick.Layouts 6.8
import QYRComponents 1.0
ApplicationWindow {
width: 1280
height: 800
title: qsTr("Hello World")
ColumnLayout {
anchors.fill: parent
anchors.margins: 10
TabBar {
id: tabbar
Layout.fillWidth: true
spacing: 10
TabButton {
text: qsTr("Autoradio")
}
TabButton {
text: qsTr("Live Mix")
}
TabButton {
text: qsTr("Deep Bass")
}
TabButton {
text: qsTr("Settings")
}
}
StackLayout {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.margins: 10
currentIndex: tabbar.currentIndex
ViewPlayer {
title: qsTr("Autoradio")
}
ViewPlayer {
title: qsTr("Live Radio")
}
ViewPlayer {
title: qsTr("Deep Bass")
}
ViewSettings {
}
}
}
}