PySide6.QtGui.QAccessibleTextRemoveEvent¶
- class QAccessibleTextRemoveEvent¶
- The - QAccessibleTextRemoveEventclass notifies of text being deleted. More…- Synopsis¶- Methods¶- def - __init__()
- def - changePosition()
- def - textRemoved()
 - 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().- __init__(iface, position, text)¶
- Parameters:
- iface – - QAccessibleInterface
- position – int 
- text – str 
 
 
 - Constructs a new - QAccessibleTextRemoveEventevent for- iface. The- texthas 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.- __init__(obj, position, text)
- Parameters:
- obj – - QObject
- position – int 
- text – str 
 
 
 - Constructs a new - QAccessibleTextRemoveEventevent for- object. The- texthas 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.- changePosition()¶
- Return type:
- int 
 
 - Returns the position where the text was removed. - textRemoved()¶
- Return type:
- str 
 
 - Returns the text that has been removed.