QAccessibleTextSelectionEvent Class | Qt GUI 5.15.19 (original) (raw)

QAccessibleTextSelectionEvent signals a change in the text selection of an object. More...

Public Functions

Member Function Documentation

QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end)

Constructs a new QAccessibleTextSelectionEvent for iface. The new selection this event notifies about is from position start to end.

QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *object, int start, int end)

Constructs a new QAccessibleTextSelectionEvent for object. The new selection this event notifies about is from position start to end.

int QAccessibleTextSelectionEvent::selectionEnd() const

Returns the position of the last selected character.

int QAccessibleTextSelectionEvent::selectionStart() const

Returns the position of the first selected character.

void QAccessibleTextSelectionEvent::setSelection(int start, int end)

Sets the selection for this event from position start to 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.