QAccessibleTextSelectionEvent Class
QAccessibleTextSelectionEvent signalisiert eine Änderung der Textauswahl eines Objekts. Mehr...
Kopfzeile: | #include <QAccessibleTextSelectionEvent> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Vererbt: | QAccessibleTextCursorEvent |
- Liste aller Member, einschließlich geerbter Member
- QAccessibleTextSelectionEvent ist Teil der Accessibility Classes.
Öffentliche Funktionen
QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end) | |
QAccessibleTextSelectionEvent(QObject *object, int start, int end) | |
int | selectionEnd() const |
int | selectionStart() const |
void | setSelection(int start, int end) |
Detaillierte Beschreibung
Diese Klasse wird mit QAccessible::updateAccessibility() verwendet.
Dokumentation der Mitgliedsfunktionen
QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end)
Konstruiert ein neues QAccessibleTextSelectionEvent für iface. Die neue Auswahl, über die dieses Ereignis informiert, ist von Position start bis end.
QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *object, int start, int end)
Konstruiert ein neues QAccessibleTextSelectionEvent für object. Die neue Auswahl, über die dieses Ereignis informiert, ist von Position start bis end.
int QAccessibleTextSelectionEvent::selectionEnd() const
Gibt die Position des zuletzt ausgewählten Zeichens zurück.
int QAccessibleTextSelectionEvent::selectionStart() const
Gibt die Position des ersten ausgewählten Zeichens zurück.
void QAccessibleTextSelectionEvent::setSelection(int start, int end)
Setzt die Auswahl für dieses Ereignis von Position start auf end.
© 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.