The QAccessibleWidget class implements the QAccessibleInterface for QWidgets. More...
Header: | #include <QAccessibleWidget> |
qmake: | QT += widgets |
Inherits: | QAccessibleObject and QAccessibleActionInterface |
QAccessibleWidget(QWidget *w, QAccessible::Role role = QAccessible::Client, const QString &name = QString()) |
virtual QStringList | actionNames() const override |
virtual QColor | backgroundColor() const override |
virtual QAccessibleInterface * | child(int index) const override |
virtual int | childCount() const override |
virtual void | doAction(const QString &actionName) override |
virtual QAccessibleInterface * | focusChild() const override |
virtual QColor | foregroundColor() const override |
virtual int | indexOfChild(const QAccessibleInterface *child) const override |
virtual void * | interface_cast(QAccessible::InterfaceType t) override |
virtual bool | isValid() const override |
virtual QStringList | keyBindingsForAction(const QString &actionName) const override |
virtual QAccessibleInterface * | parent() const override |
virtual QRect | rect() const override |
virtual QVector<QPair<QAccessibleInterface *, QAccessible::Relation> > | relations(QAccessible::Relation match) const override |
virtual QAccessible::Role | role() const override |
virtual QAccessible::State | state() const override |
virtual QString | text(QAccessible::Text t) const override |
virtual QWindow * | window() const override |
virtual | ~QAccessibleWidget() |
void | addControllingSignal(const QString &signal) |
QObject * | parentObject() const |
QWidget * | widget() const |
The QAccessibleWidget class implements the QAccessibleInterface for QWidgets.
This class is part of Accessibility for QWidget Applications.
This class is convenient to use as a base class for custom implementations of QAccessibleInterfaces that provide information about widget objects.
The class provides functions to retrieve the parentObject() (the widget's parent widget), and the associated widget(). Controlling signals can be added with addControllingSignal(), and setters are provided for various aspects of the interface implementation, for example setValue(), setDescription(), setAccelerator(), and setHelp().
See also QAccessible and QAccessibleObject.
Creates a QAccessibleWidget object for widget w. role and name are optional parameters that set the object's role and name properties.
[virtual protected]
QAccessibleWidget::~QAccessibleWidget()Destroys this object.
[override virtual]
QStringList QAccessibleWidget::actionNames() constReimplemented from QAccessibleActionInterface::actionNames().
[protected]
void QAccessibleWidget::addControllingSignal(const QString &signal)Registers signal as a controlling signal.
An object is a Controller to any other object connected to a controlling signal.
[override virtual]
QColor QAccessibleWidget::backgroundColor() constReimplemented from QAccessibleInterface::backgroundColor().
[override virtual]
QAccessibleInterface *QAccessibleWidget::child(int index) constReimplemented from QAccessibleInterface::child().
[override virtual]
int QAccessibleWidget::childCount() constReimplemented from QAccessibleInterface::childCount().
[override virtual]
void QAccessibleWidget::doAction(const QString &actionName)Reimplemented from QAccessibleActionInterface::doAction().
[override virtual]
QAccessibleInterface *QAccessibleWidget::focusChild() constReimplemented from QAccessibleInterface::focusChild().
[override virtual]
QColor QAccessibleWidget::foregroundColor() constReimplemented from QAccessibleInterface::foregroundColor().
[override virtual]
int QAccessibleWidget::indexOfChild(const QAccessibleInterface *child) constReimplemented from QAccessibleInterface::indexOfChild().
[override virtual]
void *QAccessibleWidget::interface_cast(QAccessible::InterfaceType t)Reimplemented from QAccessibleInterface::interface_cast().
[override virtual]
bool QAccessibleWidget::isValid() constReimplemented from QAccessibleObject::isValid().
[override virtual]
QStringList
QAccessibleWidget::keyBindingsForAction(const QString &actionName) constReimplemented from QAccessibleActionInterface::keyBindingsForAction().
[override virtual]
QAccessibleInterface *QAccessibleWidget::parent() constReimplemented from QAccessibleInterface::parent().
[protected]
QObject *QAccessibleWidget::parentObject() constReturns the associated widget's parent object, which is either the parent widget, or qApp for top-level widgets.
[override virtual]
QRect QAccessibleWidget::rect() constReimplemented from QAccessibleObject::rect().
[override virtual]
QVector<QPair<QAccessibleInterface *, QAccessible::Relation> > QAccessibleWidget::relations(QAccessible::Relation match) constReimplemented from QAccessibleInterface::relations().
[override virtual]
QAccessible::Role QAccessibleWidget::role() constReimplemented from QAccessibleInterface::role().
[override virtual]
QAccessible::State QAccessibleWidget::state()
constReimplemented from QAccessibleInterface::state().
[override virtual]
QString QAccessibleWidget::text(QAccessible::Text t) constReimplemented from QAccessibleInterface::text().
[protected]
QWidget *QAccessibleWidget::widget() constReturns the associated widget.
[override virtual]
QWindow *QAccessibleWidget::window() constReimplemented from QAccessibleInterface::window().