mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-09 06:28:19 +02:00
24 lines
529 B
QML
24 lines
529 B
QML
import Hifi 1.0
|
|
import QtQuick 2.3
|
|
|
|
// This is our primary 'window' object to which all dialogs and controls will
|
|
// be childed.
|
|
Root {
|
|
id: root
|
|
anchors.fill: parent
|
|
signal unhandledClick();
|
|
|
|
// Detects a mouseclick that is not handled by any child components.
|
|
// Used by AddressBarDialog.qml to close when user clicks outside of it.
|
|
MouseArea {
|
|
anchors.fill: parent
|
|
onClicked: {
|
|
unhandledClick();
|
|
}
|
|
}
|
|
|
|
onParentChanged: {
|
|
forceActiveFocus();
|
|
}
|
|
}
|
|
|