PySide6.QtGui.QAccessibleAnnouncementEvent

class QAccessibleAnnouncementEvent

The QAccessibleAnnouncementEvent is used to request the announcement of a given message by assistive technologies. More

Inheritance diagram of PySide6.QtGui.QAccessibleAnnouncementEvent

Synopsis

Methods

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, message)
Parameters:

Constructs a new QAccessibleAnnouncementEvent event for iface to request the announcement of message with politeness Polite .

setPoliteness can be used to adjust the politeness.

__init__(object, message)
Parameters:
  • objectQObject

  • message – str

Constructs a new QAccessibleAnnouncementEvent event for object to request the announcement of message with politeness Polite .

setPoliteness can be used to adjust the politeness.

message()
Return type:

str

Returns the message.

politeness()
Return type:

AnnouncementPoliteness

Returns the politeness.

See also

setPoliteness()

setPoliteness(politeness)
Parameters:

politenessAnnouncementPoliteness

Sets the politeness with which the announcement will be requested to politeness.

See also

politeness()