mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 18:42:37 +02:00
30 lines
687 B
QML
30 lines
687 B
QML
|
|
import QtQuick 2.3
|
|
import QtQuick.Controls 1.2
|
|
import QtWebChannel 1.0
|
|
import QtWebSockets 1.0
|
|
import "qrc:///qtwebchannel/qwebchannel.js" as WebChannel
|
|
|
|
import "windows" as Windows
|
|
import "controls"
|
|
import "styles"
|
|
|
|
Windows.Window {
|
|
id: root
|
|
HifiConstants { id: hifi }
|
|
title: "QmlWindow"
|
|
resizable: true
|
|
visible: false
|
|
focus: true
|
|
property var channel;
|
|
// Don't destroy on close... otherwise the JS/C++ will have a dangling pointer
|
|
destroyOnCloseButton: false
|
|
property alias source: pageLoader.source
|
|
|
|
Loader {
|
|
id: pageLoader
|
|
objectName: "Loader"
|
|
focus: true
|
|
property var dialog: root
|
|
}
|
|
} // dialog
|