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)。

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