Add qml/Main.qml

This commit is contained in:
milonekrone 2026-01-14 16:02:23 +01:00
parent d918406cf5
commit 5a3c298225

34
qml/Main.qml Normal file
View File

@ -0,0 +1,34 @@
import QtQuick
import QtQuick.Window
import QtQuick.Controls
import XMB 1.0
Window {
id: win
width: 1280
height: 720
visible: true
color: "#0b1020"
title: "XMB Frontend"
// Fullscreen optional per CLI; QML bleibt kompatibel mit Gamescope.
// win.visibility = Window.FullScreen
BootLoader {
id: boot
anchors.fill: parent
onFinished: stack.currentIndex = 1
}
StackLayout {
id: stack
anchors.fill: parent
currentIndex: 0
Item { } // Boot placeholder
XmbRoot {
anchors.fill: parent
}
}
}