MouseDevice QML Type
Delega gli eventi del mouse agli oggetti “ MouseHandler ” associati. Maggiori informazioni...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QMouseDevice |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- sensitivity : real
- updateAxesContinuously : bool
Descrizione dettagliata
Un MouseDevice delega gli eventi del mouse dal dispositivo fisico a oggetti di tip MouseHandler. La sensibilità del mouse può essere controllata tramite la proprietà MouseDevice::sensitivity, che specifica la velocità con cui le coordinate logiche del mouse cambiano in risposta al movimento fisico del mouse.
Vedi anche MouseHandler.
Documentazione delle proprietà
sensitivity : real
Conserva il valore corrente della sensibilità del mouse. Il valore predefinito è 0,1.
updateAxesContinuously : bool
Se true, gli assi verranno aggiornati ogni volta che cambiano, indipendentemente dal fatto che sia premuto o meno un pulsante del mouse. In caso contrario, gli assi vengono aggiornati solo quando è premuto uno dei pulsanti del mouse.
Il valore predefinito è ` false`.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.