24 lines
706 B
QML
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)";
|
|
}
|
|
}
|