diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-02-15 16:27:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-16 08:31:13 +0100 |
commit | 0d1f29c6e026a6656430aa601ebc25459015d53e (patch) | |
tree | 8acec4ce4d3869dabdafe914430b5635bc4d7e7c /tests/auto/qtquick2/qquickmousearea/data/hoverVisible.qml | |
parent | 64a5087df7896524bf6af30067f442d1fc8458bc (diff) |
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>
Diffstat (limited to 'tests/auto/qtquick2/qquickmousearea/data/hoverVisible.qml')
-rw-r--r-- | tests/auto/qtquick2/qquickmousearea/data/hoverVisible.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickmousearea/data/hoverVisible.qml b/tests/auto/qtquick2/qquickmousearea/data/hoverVisible.qml new file mode 100644 index 0000000000..2d65b5573e --- /dev/null +++ b/tests/auto/qtquick2/qquickmousearea/data/hoverVisible.qml @@ -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 + } + } +} |