QActionInput Class▲
-
Header: QActionInput
-
Since: Qt 5.7
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
-
qmake: QT += 3dinput
-
Inherited By:
-
Instantiated By: qml-qt3d-input-actioninput.xml
-
Inherits: Qt3DInput::QAbstractActionInput
Detailed Description▲
Property Documentation▲
buttons : QList<int>▲
Access functions:
-
<int> buttons() const
-
void setButtons(const <int> &buttons)
Notifier signal:
-
void buttonsChanged(const <int> &buttons)
sourceDevice : Qt3DInput::QAbstractPhysicalDevice*▲
The current source device of the QActionInput.
Access functions:
-
*sourceDevice() const
-
void setSourceDevice( *sourceDevice)
Notifier signal:
-
void sourceDeviceChanged( *sourceDevice)
Member Function Documentation▲
[explicit] QActionInput::QActionInput(Qt3DCore::QNode *parent = nullptr)▲
Constructs a new QActionInput instance with parent.
void QActionInput::buttonsChanged(const QList<int> &buttons)▲
Notifier signal for property buttons.
void QActionInput::setButtons(const QList<int> &buttons)▲
Set the buttons to trigger the QActionInput instance to buttons.
Setter function for property buttons.
See Also▲
See also buttons()
void QActionInput::sourceDeviceChanged(Qt3DInput::QAbstractPhysicalDevice *sourceDevice)▲
This signal is emitted when the source device associated with the action input is changed to sourceDevice.
Notifier signal for property sourceDevice.