QAccessibleTextInsertEvent Class
Die Klasse „QAccessibleTextInsertEvent“ meldet das Einfügen von Text. Mehr...
| Header: | #include <QAccessibleTextInsertEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Erbt von: | QAccessibleTextCursorEvent |
- Liste aller Mitglieder, einschließlich geerbter Mitglieder
- QAccessibleTextInsertEvent ist Teil der Barrierefreiheitsklassen.
Öffentliche Funktionen
| QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) | |
| QAccessibleTextInsertEvent(QObject *object, int position, const QString &text) | |
| int | changePosition() const |
| QString | textInserted() const |
Ausführliche Beschreibung
Diese Klasse wird mit der Funktion „ QAccessible::updateAccessibility()“ verwendet.
Dokumentation der Mitgliedsfunktionen
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
Erstellt ein neues „QAccessibleTextInsertEvent“-Ereignis für „ iface “. Das „ text “ wurde an der Stelle „ position “ eingefügt.
QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)
Erzeugt ein neues „QAccessibleTextInsertEvent“-Ereignis für „ object “. Das „ text “ wurde an der Position „ position “ eingefügt. Standardmäßig wird davon ausgegangen, dass sich der Cursor an das Ende der Auswahl bewegt hat. Ist dies nicht der Fall, muss man dies für dieses Ereignis manuell mit „ QAccessibleTextCursorEvent::setCursorPosition()“ festlegen.
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.
© 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.