hi i have problem simple example:
When i click on red rectangle i don't want close app how can i do that? And red rectangle mustoverlap the root rectangleQt Code:
import QtQuick 1.1 Rectangle { id: root width: 360 height: 360 Rectangle { width: 200 height: 100 color: "red" } Text { text: qsTr("Hello World") anchors.centerIn: parent } MouseArea { anchors.fill: parent onClicked: { Qt.quit(); } } }To copy to clipboard, switch view to plain text mode
Bookmarks