QAccessibleTextRemoveEvent Class

QAccessibleTextRemoveEvent 클래스는 텍스트가 삭제되는 것을 알립니다. 더 보기...

Header: #include <QAccessibleTextRemoveEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
상속합니다: QAccessibleTextCursorEvent

공용 함수

QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)
int changePosition() const
QString textRemoved() const

상세 설명

이 클래스는 QAccessible::updateAccessibility()와 함께 사용됩니다.

멤버 함수 문서

QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)

iface 에 대한 새로운 QAccessibleTextRemoveEvent 이벤트를 생성합니다. position 에서 text 이 제거되었습니다. 기본적으로 커서가 position 로 이동한 것으로 가정합니다. 그렇지 않은 경우 이 이벤트에 대해 QAccessibleTextCursorEvent::setCursorPosition()를 사용하여 수동으로 설정해야 합니다.

QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)

object 에 대한 새로운 QAccessibleTextRemoveEvent 이벤트를 생성합니다. position 에서 text 이 제거되었습니다. 기본적으로 커서가 position 로 이동한 것으로 가정합니다. 그렇지 않은 경우 이 이벤트에 대해 QAccessibleTextCursorEvent::setCursorPosition()를 사용하여 수동으로 설정해야 합니다.

int QAccessibleTextRemoveEvent::changePosition() const

텍스트가 제거된 위치를 반환합니다.

QString QAccessibleTextRemoveEvent::textRemoved() const

제거된 텍스트를 반환합니다.

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