QAccessibleAttributesInterface Class | Qt GUI (original) (raw)

The QAccessibleAttributesInterface class implements support for reporting attributes for an accessible object. More...

Header: #include
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Since: Qt 6.8

Public Functions

Member Function Documentation

[virtual noexcept] QAccessibleAttributesInterface::~QAccessibleAttributesInterface()

Destroys the QAccessibleAttributesInterface.

[pure virtual] QList<QAccessible::Attribute> QAccessibleAttributesInterface::attributeKeys() const

Returns the keys of all attributes the object supports. The QAccessible::Attribute enumeration describes available keys.

[pure virtual] QVariant QAccessibleAttributesInterface::attributeValue(QAccessible::Attribute key) const

Returns the value of the attribute key of this object.

If the attribute is set for this object, a value of the type documented for the given key in the documentation of the QAccessible::Attribute enumeration is returned in the QVariant.

Otherwise, an invalid QVariant is returned.

© 2025 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.