QAccessibleTextSelectionEvent¶
QAccessibleTextSelectionEvent
signals a change in the text selection of an object. More…
Synopsis¶
Functions¶
def
selectionEnd
()def
selectionStart
()def
setSelection
(start, end)
Detailed Description¶
This class is used with
updateAccessibility()
.
-
class
QAccessibleTextSelectionEvent
(iface, start, end)¶ QAccessibleTextSelectionEvent(obj, start, end)
- param iface
- param obj
QObject
- param start
int
- param end
int
Constructs a new
QAccessibleTextSelectionEvent
foriface
. The new selection this event notifies about is from positionstart
toend
.Constructs a new
QAccessibleTextSelectionEvent
forobject
. The new selection this event notifies about is from positionstart
toend
.
-
PySide2.QtGui.QAccessibleTextSelectionEvent.
selectionEnd
()¶ - Return type
int
Returns the position of the last selected character.
-
PySide2.QtGui.QAccessibleTextSelectionEvent.
selectionStart
()¶ - Return type
int
Returns the position of the first selected character.
-
PySide2.QtGui.QAccessibleTextSelectionEvent.
setSelection
(start, end)¶ - Parameters
start –
int
end –
int
Sets the selection for this event from position
start
toend
.
© 2018 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.