QAccessiblePlugin Class
QAccessiblePluginクラスは、ユーザーインターフェイス要素のアクセシビリティ情報を提供するプラグインのための抽象基底クラスを提供します。詳細...
ヘッダ | #include <QAccessiblePlugin> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
継承: | QObject |
- 継承されたメンバを含むすべてのメンバのリスト
- QAccessiblePluginはプラグインクラスと アクセシビリティクラスの一部です。
パブリック関数
QAccessiblePlugin(QObject *parent = nullptr) | |
virtual | ~QAccessiblePlugin() |
virtual QAccessibleInterface * | create(const QString &key, QObject *object) = 0 |
詳しい説明
アクセシビリティ・プラグインを作成するには、この基底クラスをサブクラス化し、純粋仮想関数create() を再実装し、Q_PLUGIN_METADATA() マクロでクラスをエクスポートします。
Qt プラグインの作成方法」も参照して ください。
メンバ関数のドキュメント
[explicit]
QAccessiblePlugin::QAccessiblePlugin(QObject *parent = nullptr)
与えられたparent でアクセシビリティプラグインを構築します。これはプラグインローダーによって自動的に呼び出されます。
[virtual noexcept]
QAccessiblePlugin::~QAccessiblePlugin()
アクセシビリティ・プラグインを破棄します。
明示的に呼び出す必要はありません。Qtはプラグインが使われなくなると自動的に破棄します。
[pure virtual]
QAccessibleInterface *QAccessiblePlugin::create(const QString &key, QObject *object)
key クラスおよびobject オブジェクトのQAccessibleInterface 実装を作成し、返します。キーの大文字と小文字は区別されます。
© 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.