QAccessibleTextInsertEvent Class
Die Klasse QAccessibleTextInsertEvent meldet das Einfügen von Text. Mehr...
Kopfzeile: | #include <QAccessibleTextInsertEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Vererbungen: | QAccessibleTextCursorEvent |
- Liste aller Member, einschließlich geerbter Member
- QAccessibleTextInsertEvent ist Teil der Accessibility Classes.
Öffentliche Funktionen
QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) | |
QAccessibleTextInsertEvent(QObject *object, int position, const QString &text) | |
int | changePosition() const |
QString | textInserted() const |
Detaillierte Beschreibung
Diese Klasse wird mit QAccessible::updateAccessibility() verwendet.
Dokumentation der Mitgliedsfunktionen
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
Konstruiert ein neues QAccessibleTextInsertEvent-Ereignis für iface. Die text wurde unter position eingefügt.
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)
Konstruiert ein neues QAccessibleTextInsertEvent-Ereignis für object. Die text wurde unter position eingefügt. Standardmäßig wird davon ausgegangen, dass der Cursor an das Ende der Auswahl bewegt wurde. Wenn das nicht der Fall ist, muss man ihn manuell mit QAccessibleTextCursorEvent::setCursorPosition() für dieses Ereignis setzen.
int QAccessibleTextInsertEvent::changePosition() const
Gibt die Position zurück, an der der Text eingefügt wurde.
QString QAccessibleTextInsertEvent::textInserted() const
Gibt den eingefügten Text zurück.
© 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.