One of the very basic animations that you could come across is the NumberAnimation. This animation works by changing the numeric value of a property of an item from an initial state to a final state. Consider the following complete example:
import QtQuick 2.7
import QtQuick.Controls 2.0
...
A behavior based animation allows you to specify that when a property changes the change should be animated over time.
ProgressBar {
id: progressBar
from: 0
to: 100
Behavior on value {
NumberAnimation {
duration: 250
}
}
}
In this example ...