- class QAccessibleAnnouncementEvent¶
The
QAccessibleAnnouncementEvent
is used to request the announcement of a given message by assistive technologies. More…Synopsis¶
Methods¶
def
__init__()
def
message()
def
politeness()
def
setPoliteness()
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:
iface –
QAccessibleInterface
message – str
Constructs a new
QAccessibleAnnouncementEvent
event foriface
to request the announcement ofmessage
with politenessPolite
.setPoliteness
can be used to adjust the politeness.- __init__(object, message)
- Parameters:
object –
QObject
message – str
Constructs a new
QAccessibleAnnouncementEvent
event forobject
to request the announcement ofmessage
with politenessPolite
.setPoliteness
can be used to adjust the politeness.- message()¶
- Return type:
str
Returns the message.
- politeness()¶
- Return type:
Returns the politeness.
See also
- setPoliteness(politeness)¶
- Parameters:
politeness –
AnnouncementPoliteness
Sets the politeness with which the announcement will be requested to
politeness
.See also