hi i have problem simple example:
Qt Code:
  1. import QtQuick 1.1
  2.  
  3. Rectangle {
  4. id: root
  5. width: 360
  6. height: 360
  7. Rectangle {
  8. width: 200
  9. height: 100
  10. color: "red"
  11. }
  12.  
  13. Text {
  14. text: qsTr("Hello World")
  15. anchors.centerIn: parent
  16. }
  17. MouseArea {
  18. anchors.fill: parent
  19. onClicked: {
  20. Qt.quit();
  21. }
  22. }
  23. }
To copy to clipboard, switch view to plain text mode 
When i click on red rectangle i don't want close app how can i do that? And red rectangle mustoverlap the root rectangle