diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2012-01-13 11:47:48 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-18 06:56:00 +0100 |
commit | 2df5c4b9c260a81c585a9e607961c497c6b6a750 (patch) | |
tree | 32e7d1401da955840585d73ce32268427b9315e5 /tests/auto/qtquick2/qquickaccessible/data/pushbutton.qml | |
parent | 3aa53b8bc383ebcdf8dc922b2670170ec012949f (diff) |
Move accessibility test to QtQuick 2.
The test now only depends on Quick 2 and no longer a mix of
widgets, Quick 1 and 2.
Change-Id: I3120e11dadb8bb7d7635e6baa1cb905d917353ea
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qquickaccessible/data/pushbutton.qml')
-rw-r--r-- | tests/auto/qtquick2/qquickaccessible/data/pushbutton.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickaccessible/data/pushbutton.qml b/tests/auto/qtquick2/qquickaccessible/data/pushbutton.qml new file mode 100644 index 0000000000..df19231703 --- /dev/null +++ b/tests/auto/qtquick2/qquickaccessible/data/pushbutton.qml @@ -0,0 +1,15 @@ +import QtQuick 2.0 + +Rectangle { + Accessible.role : Accessible.Button + property string text : "test" + + Text { + anchors.fill : parent + text : parent.text + } + + MouseArea { + anchors.fill : parent + } +} |