Important: Please read the Qt Code of Conduct -

ListView ViewTransition when model is QQmlListProperty

  • Hey guys,

    I want to give my listView some transition-animations but it just won't work.
    My ListView's model is from type QQmlListProperty<MyCustomClass>.
    Actually I don't even know how the ListView detects if an item has moved inside my model list.

    In my main.qml I just set this:

    MainForm {
        lvMisc.displaced: Transition {
            NumberAnimation { properties: "x,y"; duration: 400; easing.type: Easing.OutBounce }

    Unfortunately I don't see any animation.
    What am I missing here?


  • Moderators

    @themts Does add: Transition { } work inside ListView ?

Log in to reply