Hello.
I'm new in QLM and I have a problem with some task related to QML ListView. I need to make entries highlighted when pointed by mouse and selected when clicked. Everything works ok untill I press a button on some entry an than move to another - hover doesn't work for other entries. It looks that pressed button blocks other elements (no onEntered, onExited and other signals of those elements). Here is a similar, simplified code (and without selection action for now):

ListDelegate.qml
Qt Code:
  1. import QtQuick 1.0
  2.  
  3. Rectangle {
  4. id: delegate
  5. width: ListView.view.width
  6. height: 40
  7.  
  8. Rectangle {
  9. id: background
  10. anchors.fill: parent
  11. color: mArea.containsMouse ? "thistle" : "lightsteelblue"
  12. }
  13. Text {
  14. id: label
  15. anchors.top: parent.top
  16. anchors.topMargin: 2
  17. anchors.left: parent.left
  18. anchors.leftMargin: 2
  19. font.family: "Helvetica";
  20. font.pixelSize: 13;
  21. font.bold: true
  22. color: mArea.containsMouse ? "blue" : "red"
  23. text: name + ":\n\t" + number + "\n"
  24. }
  25. MouseArea {
  26. id: mArea
  27. anchors.fill: parent
  28. hoverEnabled: true
  29. }
  30. }
To copy to clipboard, switch view to plain text mode 

ContactModel.qml
Qt Code:
  1. import QtQuick 1.0
  2.  
  3. ListModel {
  4. ListElement {
  5. name: "Bill Smith"
  6. number: "555 3264"
  7. }
  8. ListElement {
  9. name: "John Brown"
  10. number: "555 8426"
  11. }
  12. ListElement {
  13. name: "Sam Wise"
  14. number: "555 0473"
  15. }
  16. }
To copy to clipboard, switch view to plain text mode 

main.qml
Qt Code:
  1. import QtQuick 1.0
  2.  
  3. Rectangle {
  4. width: 180; height: 200
  5.  
  6. ListView {
  7. id: list
  8. width: 180; height: 200
  9. clip: true
  10. interactive: false
  11. model: ContactModel {}
  12. delegate: ListDelegate {}
  13. focus: true
  14. }
  15. }
To copy to clipboard, switch view to plain text mode 

Is there any solution?