2019-05-14 03:15:03 +10:00
|
|
|
import QtQuick 2.7
|
|
|
|
|
|
|
|
ListView {
|
2019-05-15 05:15:10 +10:00
|
|
|
property int duration: HStyle.animationDuration
|
2019-05-14 03:15:03 +10:00
|
|
|
|
|
|
|
add: Transition {
|
|
|
|
NumberAnimation { properties: "x,y"; from: 100; duration: duration }
|
|
|
|
}
|
|
|
|
|
|
|
|
populate: Transition {
|
|
|
|
NumberAnimation { properties: "x,y"; duration: duration }
|
|
|
|
}
|
|
|
|
|
|
|
|
move: Transition {
|
|
|
|
NumberAnimation { properties: "x,y"; duration: duration }
|
|
|
|
}
|
|
|
|
|
|
|
|
displaced: Transition {
|
|
|
|
NumberAnimation { properties: "x,y"; duration: duration }
|
|
|
|
}
|
|
|
|
|
|
|
|
remove: Transition {
|
|
|
|
ParallelAnimation {
|
|
|
|
NumberAnimation { property: "opacity"; to: 0; duration: duration }
|
|
|
|
NumberAnimation { properties: "x,y"; to: 100; duration: duration }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|