Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure visibility changes are communicated through itemChange.
Also added MouseArea test that depends on this functionality. Change-Id: I1c303504ffd63d6b9dbdf95ab63e8426dc09c02d Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
- Loading branch information
Michael Brasser
authored and
Qt by Nokia
committed
Feb 16, 2012
1 parent
64a5087
commit 0d1f29c
Showing
4 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import QtQuick 2.0 | ||
|
||
Rectangle { | ||
width: 400; height: 400; | ||
|
||
Rectangle { | ||
width: 100; height: 100; | ||
MouseArea { | ||
id: mousetracker; objectName: "mousetracker" | ||
anchors.fill: parent | ||
visible: false | ||
hoverEnabled: true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters