QAccessibleObject Class

The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects. More...

Header: #include <QAccessibleObject>
qmake: QT += gui
Inherits: QAccessibleInterface

Public Functions

QAccessibleObject(QObject *object)

Reimplemented Public Functions

virtual QAccessibleInterface *childAt(int x, int y) const override
virtual bool isValid() const override
virtual QObject *object() const override
virtual QRect rect() const override
virtual void setText(QAccessible::Text t, const QString &text) override

Protected Functions

virtual ~QAccessibleObject()

Detailed Description

The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects.

This class is part of Accessibility for QWidget Applications.

This class is mainly provided for convenience. All subclasses of the QAccessibleInterface that provide implementations of non-widget objects should use this class as their base class.

See also QAccessible and QAccessibleWidget.

Member Function Documentation

QAccessibleObject::QAccessibleObject(QObject *object)

Creates a QAccessibleObject for object.

[virtual protected] QAccessibleObject::~QAccessibleObject()

Destroys the QAccessibleObject.

This only happens when a call to release() decrements the internal reference counter to zero.

[override virtual] QAccessibleInterface *QAccessibleObject::childAt(int x, int y) const

Reimplemented from QAccessibleInterface::childAt().

[override virtual] bool QAccessibleObject::isValid() const

Reimplemented from QAccessibleInterface::isValid().

[override virtual] QObject *QAccessibleObject::object() const

Reimplemented from QAccessibleInterface::object().

[override virtual] QRect QAccessibleObject::rect() const

Reimplemented from QAccessibleInterface::rect().

[override virtual] void QAccessibleObject::setText(QAccessible::Text t, const QString &text)

Reimplemented from QAccessibleInterface::setText().

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.