mirror of
https://github.com/overte-org/overte.git
synced 2025-06-20 15:01:35 +02:00
36 lines
777 B
QML
36 lines
777 B
QML
import QtQuick 2.5
|
|
import QtQuick.Controls 1.4
|
|
|
|
import "../windows"
|
|
|
|
Window {
|
|
//frame: HiddenFrame {}
|
|
hideBackground: true
|
|
resizable: false
|
|
destroyOnCloseButton: false
|
|
destroyOnHidden: false
|
|
closable: false
|
|
shown: true
|
|
pinned: true
|
|
width: 50
|
|
height: 50
|
|
clip: true
|
|
visible: true
|
|
|
|
Item {
|
|
width: 50
|
|
height: 50
|
|
Image {
|
|
y: desktop.pinned ? -50 : 0
|
|
id: hudToggleImage
|
|
source: "../../icons/hud-01.svg"
|
|
}
|
|
MouseArea {
|
|
readonly property string overlayMenuItem: "Overlays"
|
|
anchors.fill: parent
|
|
onClicked: MenuInterface.setIsOptionChecked(overlayMenuItem, !MenuInterface.isOptionChecked(overlayMenuItem))
|
|
}
|
|
}
|
|
}
|
|
|
|
|