Rectangle { color: Qt.rgba(0.0, 0.0, 0.0, 0.5) anchors.fill: parent MouseArea { // for blocking all underlayers anchors.fill: parent } // тут определяешь само окно}
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton