Add tool to test locally
This commit is contained in:
1 parent
49d8524597
commit
e99e5bf6b4
7 files changed
+111
-27
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import QtQuick 2.5
|
||||
import QtQuick.Window 2.2
|
||||
|
||||
// Aperçu sur PC : charge 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("../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)";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user