PauseAnimation QML Type
Consente di mettere in pausa un'animazione. Altro...
| Import Statement: | import QtQuick |
| Inherits: |
Proprietà
- duration : int
Descrizione dettagliata
Quando viene utilizzato in un SequentialAnimation, PauseAnimation rappresenta un passaggio in cui non accade nulla, per una durata specificata.
Una sequenza di animazione di 500 ms, con una pausa di 100 ms tra due animazioni:
SequentialAnimation {
NumberAnimation { ... duration: 200 }
PauseAnimation { duration: 100 }
NumberAnimation { ... duration: 200 }
}Vedi anche Animazioni e transizioni in Qt Quick e Qt Quick Esempi - Animazione.
Documentazione delle proprietà
duration : int
Questa proprietà indica la durata della pausa in millisecondi
Il valore predefinito è 250.
© 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.