IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QInputChord Class

QInputChord represents a set of QAbstractActionInput's that must be triggerd at once.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QInputChord Class▲

  • Header: QInputChord

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3dinput)

    target_link_libraries(mytarget PRIVATE Qt6::3dinput)

  • qmake: QT += 3dinput

  • Inherited By:

  • Instantiated By: qml-qt3d-input-inputchord.xml

  • Inherits: Qt3DInput::QAbstractActionInput

Detailed Description▲

 

Property Documentation▲

 

timeout : int▲

The time in which all QAbstractActionInput's in the input chord must triggered within. The time is in milliseconds.

Access functions:

  • int timeout() const

  • void setTimeout(int timeout)

Notifier signal:

  • void timeoutChanged(int timeout)

Member Function Documentation▲

 

[explicit] QInputChord::QInputChord(Qt3DCore::QNode *parent = nullptr)▲

Constructs a new QInputChord with parent parent.

void QInputChord::addChord(Qt3DInput::QAbstractActionInput *input)▲

Append the QAbstractActionInput input to the end of this QInputChord's chord vector.

See Also▲

See also removeChord

QList<Qt3DInput::QAbstractActionInput *> QInputChord::chords() const▲

Returns the QInputChord's chord vector.

void QInputChord::removeChord(Qt3DInput::QAbstractActionInput *input)▲

Remove the QAbstractActionInput input from this QInputChord's chord vector.

See Also▲

See also addChord

void QInputChord::setTimeout(int timeout)▲

Sets the time in which all QAbstractActionInput's in the input chord must triggered within to timeout. The time is in milliseconds

Setter function for property timeout.

See Also▲

See also timeout()

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+