Prepare player and settings, create branding

This commit is contained in:
Dark Steveneq
2025-10-12 03:10:14 +02:00
parent 7b6e749bca
commit e54a3182a3
15 changed files with 270 additions and 68 deletions

48
ViewSettings.qml Normal file
View File

@@ -0,0 +1,48 @@
import QtQuick 6.8
import QtQuick.Controls 6.8
import QtQuick.Controls.Basic 6.8
import QtQuick.Layouts 6.8
import QYRComponents 1.0
RowLayout {
// Layout.leftMargin: parent.width * 2
// Layout.rightMargin: parent.width * 2
TabBar {
id: settingsCategory
Layout.fillHeight: true
spacing: 10
contentItem: ListView {
model: settingsCategory.contentModel
currentIndex: settingsCategory.currentIndex
spacing: settingsCategory.spacing
orientation: ListView.Vertical
boundsBehavior: Flickable.StopAtBounds
flickableDirection: Flickable.AutoFlickIfNeeded
snapMode: ListView.SnapToItem
highlightMoveDuration: 0
highlightRangeMode: ListView.ApplyRange
preferredHighlightBegin: 40
preferredHighlightEnd: width - 40
}
TabButton {
text: qsTr("Appearance")
width: 284
}
TabButton {
text: qsTr("About")
width: 284
}
}
StackLayout {
Layout.fillWidth: true
Layout.fillHeight: true
}
}