import QtQuick 2.5 import fbx.application 1.0 import "Components" import "Shared" import "Core" Application { Rectangle { anchors.fill: parent color: Theme.background } Session { id: appSession } Row { anchors.fill: parent // Masqué sur les écrans du catalogue (Page.fullscreen). Logo { id: logo visible: !navigator.fullscreen width: visible ? parent.width / 3 : 0 height: parent.height } Navigator { id: navigator width: parent.width - logo.width height: parent.height session: appSession focus: true } } // Appelée par le runtime Freebox (ouverture de l'app via une URL / un lien profond). // Pas encore utilisée : la déclarer évite l'avertissement au démarrage. function handleUrl(url) { console.log("handleUrl:", url); } Component.onCompleted: { navigator.push("ServerSelect"); appSession.loadDevConfig(Qt.resolvedUrl("dev-config.json")); } }