QAccessibleTextRemoveEvent#

The QAccessibleTextRemoveEvent class notifies of text being deleted. More

Inheritance diagram of PySide6.QtGui.QAccessibleTextRemoveEvent

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

This class is used with updateAccessibility() .

class PySide6.QtGui.QAccessibleTextRemoveEvent(iface, position, text)#

PySide6.QtGui.QAccessibleTextRemoveEvent(obj, position, text)

Parameters:

Constructs a new QAccessibleTextRemoveEvent event for iface. The text has been removed at position. By default it is assumed that the cursor has moved to position. If that is not the case, one needs to manually set it with setCursorPosition() for this event.

Constructs a new QAccessibleTextRemoveEvent event for object. The text has been removed at position. By default it is assumed that the cursor has moved to position. If that is not the case, one needs to manually set it with setCursorPosition() for this event.

PySide6.QtGui.QAccessibleTextRemoveEvent.changePosition()#
Return type:

int

Returns the position where the text was removed.

PySide6.QtGui.QAccessibleTextRemoveEvent.textRemoved()#
Return type:

str

Returns the text that has been removed.