import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 2.15 Item { id: root Window { id: fullScreenWindow visible: true color: "yellow" Row { spacing: 20 Button { id: button text: "Test" onClicked: { console.log("Button clicked") } } Switch { text: "Test" onStateChanged: { console.log("Switch triggered") } } Rectangle { width: button.width height: button.height color: "green" MouseArea { anchors.fill: parent onClicked: { console.log("MouseArea clicked") } } } } Component.onCompleted: { fullScreenWindow.flags = fullScreenWindow.flags | Qt.WindowStaysOnBottomHint fullScreenWindow.showFullScreen() otherWindow.show() } } Window { id: otherWindow x: Screen.width / 2 - width / 2 y: Screen.height / 2 - height / 2 width: 640 height: 480 visible: true color: "beige" } }