overte/interface/resources/qml/windows/ModalFrame.qml
2016-01-15 23:14:49 -08:00

29 lines
679 B
QML

import QtQuick 2.5
import "."
import "../controls"
Frame {
id: frame
// The frame fills the parent, which should be the size of the content.
// The frame decorations use negative anchor margins to extend beyond
anchors.fill: parent
property alias window: frame.parent
Rectangle {
anchors.fill: parent
anchors.margins: -4096
visible: window.visible
color: "#7f7f7f7f";
radius: 3;
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.AllButtons
onClicked: { }
onDoubleClicked: {}
onPressAndHold: {}
onReleased: {}
}
}
}