PauseAnimation QML Type
Legt eine Pause in einer Animation ein. Mehr...
| Import Statement: | import QtQuick |
| Inherits: |
Eigenschaften
- duration : int
Ausführliche Beschreibung
Bei Verwendung in einer Animationssequenz ( SequentialAnimation) ist „PauseAnimation“ ein Schritt, in dem für eine bestimmte Dauer nichts geschieht.
Eine 500-ms-Animationssequenz mit einer Pause von 100 ms zwischen zwei Animationen:
SequentialAnimation {
NumberAnimation { ... duration: 200 }
PauseAnimation { duration: 100 }
NumberAnimation { ... duration: 200 }
}Siehe auch „Animationen und Übergänge“ unter Qt Quick sowie „Qt Quick -Beispiele – Animation“.
Dokumentation zu den Eigenschaften
duration : int
Diese Eigenschaft gibt die Dauer der Pause in Millisekunden an
Der Standardwert beträgt 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.