QAccessibleWidgetclass implements theQAccessibleInterface为 QWidgets。 更多 …
def
addControllingSignal
(signal)
def
parentObject
()
def
widget
()
def
actionNames
()
def
doAction
(actionName)
def
keyBindingsForAction
(actionName)
This class is part of Accessibility for QWidget Applications.
This class is convenient to use as a base class for custom implementations of QAccessibleInterfaces that provide information about widget objects.
The class provides functions to retrieve the
parentObject()(the widget’s parent widget), and the associatedwidget(). Controlling signals can be added withaddControllingSignal(), and setters are provided for various aspects of the interface implementation, for example , setDescription(), setAccelerator(), and setHelp().另请参阅
QAccessibleQAccessibleObject
QAccessibleWidget
(
o
[
,
r=QAccessible.Client
[
,
name=""
]
]
)
¶
- param name
unicode
- param o
- param r
Role
创建
QAccessibleWidget
object for widget
w
.
role
and
name
are optional parameters that set the object’s role and name properties.
PySide2.QtWidgets.QAccessibleWidget.
actionNames
(
)
¶
字符串列表
PySide2.QtWidgets.QAccessibleWidget.
addControllingSignal
(
signal
)
¶
signal – unicode
注册
signal
as a controlling signal.
An object is a Controller to any other object connected to a controlling signal.
PySide2.QtWidgets.QAccessibleWidget.
doAction
(
actionName
)
¶
actionName – unicode
PySide2.QtWidgets.QAccessibleWidget.
keyBindingsForAction
(
actionName
)
¶
actionName – unicode
字符串列表
PySide2.QtWidgets.QAccessibleWidget.
parentObject
(
)
¶
QObject
Returns the associated widget’s parent object, which is either the parent widget, or
qApp
for top-level widgets.