このページでは

QAccessibleObject Class

QAccessibleObject クラスは、QObject 向けの「QAccessibleInterface 」の一部を実装しています。詳細...

ヘッダー: #include <QAccessibleObject>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
継承元: QAccessibleInterface
継承元:

QAccessibleWidget

パブリック関数

QAccessibleObject(QObject *object)

再実装されたパブリック関数

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

プロテクトされた関数

virtual ~QAccessibleObject()

詳細な説明

このクラスは、QWidget アプリケーションのアクセシビリティの一部です。

このクラスは主に利便性を考慮して提供されています。非ウィジェットオブジェクトの実装を提供する `QAccessibleInterface ` のすべてのサブクラスは、このクラスを基底クラスとして使用する必要があります。

QAccessible およびQAccessibleWidgetも参照してください 。

メンバ関数のドキュメント

[explicit] QAccessibleObject::QAccessibleObject(QObject *object)

object 用の QAccessibleObject を作成します。

[virtual noexcept protected] QAccessibleObject::~QAccessibleObject()

QAccessibleObject を破棄します。

これは、release() の呼び出しによって内部参照カウンタがゼロになる場合にのみ発生します。

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

QAccessibleInterface::childAt(int x, int y) const を再実装します。

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

QAccessibleInterface::isValid() const を再実装します。

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

QAccessibleInterface::object() const を再実装します。

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

QAccessibleInterface::rect() const を再実装します。

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

QAccessibleInterface::setText(QAccessible::Text t, const QString &text) を再実装します。

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