QInputSequence represents a set of QAbstractActionInput 's that must be triggerd one after the other. 更多...
头: | #include <QInputSequence> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
实例化: | InputSequence |
继承: | Qt3DInput::QAbstractActionInput |
QInputSequence (Qt3DCore::QNode * parent = nullptr) | |
void | addSequence (Qt3DInput::QAbstractActionInput * input ) |
int | buttonInterval () const |
void | removeSequence (Qt3DInput::QAbstractActionInput * input ) |
QList<Qt3DInput::QAbstractActionInput *> | sequences () const |
int | timeout () const |
void | setButtonInterval (int buttonInterval ) |
void | setTimeout (int timeout ) |
void | buttonIntervalChanged (int buttonInterval ) |
void | timeoutChanged (int timeout ) |
The maximum time in between consecutive QAbstractActionInput 's in the input sequence. The time is in milliseconds.
访问函数:
int | buttonInterval () const |
void | setButtonInterval (int buttonInterval ) |
通知程序信号:
void | buttonIntervalChanged (int buttonInterval ) |
The time in which all QAbstractActionInput 's in the input sequence must triggered within. The time is in milliseconds.
访问函数:
int | timeout () const |
void | setTimeout (int timeout ) |
通知程序信号:
void | timeoutChanged (int timeout ) |
[explicit]
QInputSequence::
QInputSequence
(
Qt3DCore::QNode
*
parent
= nullptr)
Constructs a new QInputSequence with parent parent .
Append the QAbstractActionInput input to the end of this QInputSequence 's sequence vector.
另请参阅 removeSequence .
Returns the maximum time in between consecutive QAbstractActionInput 's in the input sequence. The time is in milliseconds
注意: Getter function for property buttonInterval.
另请参阅 setButtonInterval ().
Remove the QAbstractActionInput input 从此 QInputSequence 's sequence vector.
另请参阅 addSequence .
返回 QInputSequence 's sequence vector.
Returns the time in which all QAbstractActionInput 's in the input sequence must triggered within. The time is in milliseconds
注意: Getter function for property timeout.
另请参阅 setTimeout ().