Links a set of QAbstractActionInput 觸發相同事件。 更多...
| 頭: | #include < QAction > |
| qmake: | QT += 3dinput |
| Since: | Qt 5.7 |
| 實例化: | 動作 |
| 繼承: | Qt3DCore::QNode |
| QAction (Qt3DCore::QNode * parent = nullptr) | |
| void | addInput (QAbstractActionInput * input ) |
| QVector<QAbstractActionInput *> | inputs () const |
| bool | isActive () const |
| void | removeInput (QAbstractActionInput * input ) |
| void | activeChanged (bool isActive ) |
Links a set of QAbstractActionInput 觸發相同事件。
保持
true
若動作是活動的。
注意:不更新此特性當動作被禁用時。
訪問函數:
| bool | isActive () const |
通知程序信號:
| void | activeChanged (bool isActive ) |
構造新的 QAction instance with parent parent .
追加 QAbstractActionInput input 到可以觸發此動作的輸入列錶。
返迴可以觸發此動作的輸入列錶。
移除 QAbstractActionInput input 到可以觸發此動作的輸入列錶。