이 페이지에서

QAccessiblePlugin Class

QAccessiblePlugin 클래스는 사용자 인터페이스 요소에 대한 접근성 정보를 제공하는 플러그인을 위한 추상 기본 클래스를 제공합니다. 더 보기...

헤더: #include <QAccessiblePlugin>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
상속: QObject

공개 함수

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 ` 구현체를 생성하여 반환합니다. 키는 대소문자를 구분합니다.

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