mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 23:49:55 +02:00
35 lines
702 B
QML
35 lines
702 B
QML
// root.qml
|
|
|
|
import QtQuick 2.3
|
|
import QtQuick.Controls 2.1
|
|
import HQLauncher 1.0
|
|
import "HFControls"
|
|
|
|
Item {
|
|
id: root
|
|
width: 515
|
|
height: 390
|
|
//source: "../images/hifi_window@2x.png"
|
|
|
|
Loader {
|
|
anchors.fill: parent
|
|
id: loader
|
|
}
|
|
|
|
Component.onCompleted: {
|
|
loader.source = LauncherState.getCurrentUISource();
|
|
LauncherState.updateSourceUrl.connect(function(url) {
|
|
loader.source = url;
|
|
});
|
|
}
|
|
|
|
Text {
|
|
font.pixelSize: 12
|
|
|
|
anchors.right: root.right
|
|
anchors.bottom: root.bottom
|
|
|
|
color: "#FFFFFF"
|
|
text: LauncherState.uiState.toString() + " - " + LauncherState.applicationState
|
|
}
|
|
}
|