import QtQuick 2.0 import QtQuick.Window 2.0 Window { id: main property bool showMark: false width: 360 height: 360 Rectangle { anchors.margins: 10 anchors.fill: parent Row { id: contentBlock width: parent.width height: parent.height - button.height - 10 spacing: 10 Repeater { id: contentRepeater anchors.fill: parent visible: false model: 5 delegate: Rectangle { width: 50 height: 50 + 10 * model.index color: "transparent" border { color: "black" width: 1 } Rectangle { id: mark width: 5 height: 5 anchors.bottom: parent.bottom anchors.right: parent.right visible: showMark color: "red" } } } } Rectangle { id: button width: 200 height: 50 anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom color: "blue" MouseArea { anchors.fill: parent onClicked: { main.visible = false timer.restart() } } } } Timer { id: timer interval: 1000 onTriggered: { showMark = true main.visible = true } } }