QAccessibleTextRemoveEvent Class

Die Klasse QAccessibleTextRemoveEvent meldet das Löschen von Text. Mehr...

Kopfzeile: #include <QAccessibleTextRemoveEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Vererbungen: QAccessibleTextCursorEvent

Öffentliche Funktionen

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

Detaillierte Beschreibung

Diese Klasse wird mit QAccessible::updateAccessibility() verwendet.

Dokumentation der Mitgliedsfunktionen

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

Konstruiert ein neues QAccessibleTextRemoveEvent-Ereignis für iface. Die text wurde unter position entfernt. Standardmäßig wird davon ausgegangen, dass sich der Cursor auf position bewegt hat. Ist dies nicht der Fall, muss er manuell mit QAccessibleTextCursorEvent::setCursorPosition() für dieses Ereignis gesetzt werden.

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

Konstruiert ein neues QAccessibleTextRemoveEvent-Ereignis für object. Die text wurde unter position entfernt. Standardmäßig wird davon ausgegangen, dass sich der Cursor auf position bewegt hat. Ist dies nicht der Fall, muss er manuell mit QAccessibleTextCursorEvent::setCursorPosition() für dieses Ereignis gesetzt werden.

int QAccessibleTextRemoveEvent::changePosition() const

Gibt die Position zurück, an der der Text entfernt wurde.

QString QAccessibleTextRemoveEvent::textRemoved() const

Gibt den Text zurück, der entfernt wurde.

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