QAccessibleEditableTextInterface Class

QAccessibleEditableTextInterface 클래스는 편집 가능한 텍스트가 있는 객체에 대한 지원을 구현합니다. 더 보기...

Header: #include <QAccessibleEditableTextInterface>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

공용 함수

virtual ~QAccessibleEditableTextInterface()
virtual void deleteText(int startOffset, int endOffset) = 0
virtual void insertText(int offset, const QString &text) = 0
virtual void replaceText(int startOffset, int endOffset, const QString &text) = 0

자세한 설명

이 인터페이스를 구현할 때 거의 확실하게 QAccessibleTextInterface 도 구현하고 싶을 것입니다.

IAccessible2 사양

QAccessibleInterface도 참조하십시오 .

멤버 함수 문서

[virtual noexcept] QAccessibleEditableTextInterface::~QAccessibleEditableTextInterface()

QAccessibleEditableTextInterface 를 파괴합니다.

[pure virtual] void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)

startOffset 에서 endOffset 으로 텍스트를 삭제합니다.

[pure virtual] void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)

offset 위치에 text 을 삽입합니다.

[pure virtual] void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)

startOffset 에서 endOffset 으로 텍스트를 제거하고 대신 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.