Add accessibility to qml
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Wed, 7 Dec 2011 06:48:22 +0000 (07:48 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jan 2012 14:33:52 +0000 (15:33 +0100)
commit27a497b3a7581a0cd76407635afca91d1f42aeef
treee4b65e5dcfc9a5be6053c24ec06d56fb82fe4c0d
parent017a82c6702768aed68c34f319fa14da591f3df2
Add accessibility to qml

This consists of two parts:
An attached property for QML items and a plugin for the accessibility framework.

The attached property simply takes care of some properties (name, role)
that are needed in order to expose semantics of the application to
assistive tools.

The plugin exposes the hierarchy of QML items to the
accessibility framework.

Change-Id: I32f5603d0d9549b01b3645b205b710b9801762f7
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
54 files changed:
doc/src/declarative/declarativeui.qdoc
doc/src/declarative/elements.qdoc
examples/declarative/accessibility/accessibility.qml [new file with mode: 0644]
examples/declarative/accessibility/widgets/Button.qml [new file with mode: 0644]
examples/declarative/calculator/Core/Button.qml
src/plugins/accessible/accessible.pro [new file with mode: 0644]
src/plugins/accessible/qtquick1/main.cpp [new file with mode: 0644]
src/plugins/accessible/qtquick1/qaccessibledeclarativeitem.cpp [new file with mode: 0644]
src/plugins/accessible/qtquick1/qaccessibledeclarativeitem.h [new file with mode: 0644]
src/plugins/accessible/qtquick1/qaccessibledeclarativeview.cpp [new file with mode: 0644]
src/plugins/accessible/qtquick1/qaccessibledeclarativeview.h [new file with mode: 0644]
src/plugins/accessible/qtquick1/qtquick1.pro [new file with mode: 0644]
src/plugins/accessible/quick/main.cpp [new file with mode: 0644]
src/plugins/accessible/quick/qaccessiblequickitem.cpp [new file with mode: 0644]
src/plugins/accessible/quick/qaccessiblequickitem.h [new file with mode: 0644]
src/plugins/accessible/quick/qaccessiblequickview.cpp [new file with mode: 0644]
src/plugins/accessible/quick/qaccessiblequickview.h [new file with mode: 0644]
src/plugins/accessible/quick/quick.pro [new file with mode: 0644]
src/plugins/accessible/shared/qaccessiblebase.pri [new file with mode: 0644]
src/plugins/accessible/shared/qdeclarativeaccessible.cpp [new file with mode: 0644]
src/plugins/accessible/shared/qdeclarativeaccessible.h [new file with mode: 0644]
src/plugins/plugins.pro
src/qtquick1/graphicsitems/graphicsitems.pri
src/qtquick1/graphicsitems/qdeclarativeaccessibleattached.cpp [new file with mode: 0644]
src/qtquick1/graphicsitems/qdeclarativeaccessibleattached_p.h [new file with mode: 0644]
src/qtquick1/graphicsitems/qdeclarativeitem.cpp
src/qtquick1/graphicsitems/qdeclarativeitem.h
src/qtquick1/graphicsitems/qdeclarativeitem_p.h
src/qtquick1/graphicsitems/qdeclarativeitemsmodule.cpp
src/qtquick1/util/qdeclarativeview.cpp
src/qtquick1/util/qdeclarativeview.h
src/quick/items/items.pri
src/quick/items/qquickaccessibleattached.cpp [new file with mode: 0644]
src/quick/items/qquickaccessibleattached_p.h [new file with mode: 0644]
src/quick/items/qquickcanvas.cpp
src/quick/items/qquickcanvas.h
src/quick/items/qquickitem.cpp
src/quick/items/qquickitem.h
src/quick/items/qquickitem_p.h
src/quick/items/qquickitemsmodule.cpp
src/quick/items/qquicktext.cpp
tests/auto/declarative/declarative.pro
tests/auto/declarative/qdeclarativeaccessibility/data/pushbutton.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeaccessibility/data/statictext.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeaccessibility/qdeclarativeaccessibility.pro [new file with mode: 0644]
tests/auto/declarative/qdeclarativeaccessibility/tst_qdeclarativeaccessibility.cpp [new file with mode: 0644]
tests/manual/accessibility/animation.qml [new file with mode: 0644]
tests/manual/accessibility/behavior.qml [new file with mode: 0644]
tests/manual/accessibility/flickable.qml [new file with mode: 0644]
tests/manual/accessibility/hittest.qml [new file with mode: 0644]
tests/manual/accessibility/numberanimation.qml [new file with mode: 0644]
tests/manual/accessibility/qmltestfiles.qmlproject [new file with mode: 0644]
tests/manual/accessibility/textandbuttons.qml [new file with mode: 0644]
tests/manual/accessibility/transition.qml [new file with mode: 0644]