要素が表示されたときにアニメーションをペイントしたい(全体ではなくスムーズに表示されるはずです)
私はこれを試しました
states: State
{
name: "iconOff"
when: iconOnSwitch.checked == false
PropertyChanges { target: selectIconRow; visible: false }
}
transitions: Transition
{
reversible: true
from: ""
to: "iconOff"
PropertyAnimation
{
properties: "x,y,visible"
easing.type: Easing.InOutQuad
from: selectIconRow
property: "visible"
}
}
ただし、selectIconRowはすぐに表示されます
このようなアニメーションをどのように使用できますか?