- class QLogicalDevice#
QLogicalDevice
allows the user to define a set of actions that they wish to use within an application. More…Synopsis#
Methods#
def
__init__()
def
actions()
def
addAction()
def
addAxis()
def
axes()
def
removeAction()
def
removeAxis()
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#
- __init__([parent=None])#
- Parameters:
parent –
QNode
Constructs a new
QLogicalDevice
instance with parentparent
.- actions()#
- Return type:
.list of Qt3DInput.QAction
Returns the list of actions.
- addAction(action)#
- Parameters:
action –
QAction
Add an
action
to the list of actions.- addAxis(axis)#
- Parameters:
axis –
QAxis
Add an
axis
to the list of axis.- axes()#
- Return type:
.list of Qt3DInput.QAxis
Returns the list of axis.
- removeAction(action)#
- Parameters:
action –
QAction
Remove an
action
from the list of actions.- removeAxis(axis)#
- Parameters:
axis –
QAxis
Remove an
axis
drom the list of axis.