Nesta página

PauseAnimation QML Type

Provoca uma pausa na animação. Mais...

Import Statement: import QtQuick
Inherits:

Animation

Propriedades

Descrição detalhada

Quando usado em uma sequência de animação ( SequentialAnimation), o PauseAnimation é um passo em que nada acontece, por um período especificado.

Uma sequência de animação de 500 ms, com uma pausa de 100 ms entre duas animações:

SequentialAnimation {
    NumberAnimation { ... duration: 200 }
    PauseAnimation { duration: 100 }
    NumberAnimation { ... duration: 200 }
}

Veja também Animação e Transições em Qt Quick e Exemplos deQt Quick - Animação.

Documentação da propriedade

duration : int

Esta propriedade armazena a duração da pausa em milissegundos

O valor padrão é 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.