QLogicalDeviceallows the user to define a set of actions that they wish to use within an application. 更多 …
def
actions
()
def
addAction
(action)
def
addAxis
(axis)
def
axes
()
def
removeAction
(action)
def
removeAxis
(axis)
PySide2.Qt3DInput.Qt3DInput.
QLogicalDevice
(
[
parent=None
]
)
¶
- param parent
QNode
构造新
QLogicalDevice
instance with parent
parent
.
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
actions
(
)
¶
Returns the list of actions.
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
addAction
(
action
)
¶
action
–
QAction
Add an
action
to the list of actions.
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
addAxis
(
axis
)
¶
axis
–
QAxis
Add an
axis
to the list of axis.
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
axes
(
)
¶
Returns the list of axis.
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
removeAction
(
action
)
¶
action
–
QAction
Remove an
action
from the list of actions.
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
removeAxis
(
axis
)
¶
axis
–
QAxis
Remove an
axis
drom the list of axis.