The QAccessibleEvent class is used to query addition accessibility information about complex widgets. More...
#include <QAccessibleEvent>
Inherits: QEvent.
QAccessibleEvent ( Type type, int child ) | |
int | child () const |
void | setValue ( const QString & text ) |
QString | value () const |
The QAccessibleEvent class is used to query addition accessibility information about complex widgets.
The event can be of type QEvent::AccessibilityDescription or QEvent::AccessibilityHelp.
Some QAccessibleInterface implementations send QAccessibleEvents to the widget they wrap to obtain the description or help text of a widget or of its children. The widget can answer by calling setValue() with the requested information.
The default QWidget::event() implementation simply sets the text to be the widget's tooltip (for AccessibilityDescription event) or its "What's This?" text (for AccessibilityHelp event).
Constructs an accessibility event of the given type, which must be QEvent::AccessibilityDescription or QEvent::AccessibilityHelp.
child is the (1-based) index of the child to which the request applies. If child is 0, the request is for the widget itself.
See also child().
Returns the (1-based) index of the child to which the request applies. If the child is 0, the request is for the widget itself.
Set the description or help text for the given child() to text, thereby answering the request.
See also value().
Returns the text set using setValue().
See also setValue().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.