Files
Jellyfin-Freebox/tools/preview.qml
T
stilobique b1ca2a7cff
CI / Release Gitea (push) Successful in 32s
CI / Vérifications et paquet (push) Successful in 47s
Refactoring: move all apps inside a sub folder
2026-11-08 14:28:28 +01:00

24 lines
706 B
QML

import QtQuick 2.5
import QtQuick.Window 2.2
// Aperçu sur PC : charge app/Jellyfin.qml puis repasse la fenêtre en 1280x720
// (fbx.application.Application force le plein écran au démarrage).
QtObject {
property var app: null
Component.onCompleted: {
var component = Qt.createComponent("../app/Jellyfin.qml");
if (component.status === Component.Error) {
console.error(component.errorString());
Qt.quit();
return;
}
app = component.createObject(null);
app.visibility = Window.Windowed;
app.width = 1280;
app.height = 720;
app.color = "black";
app.title = "Jellyfin (aperçu)";
}
}