Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qml ListView removeRow transition never receives running == false signal
Forum Updated to NodeBB v4.3 + New Features

Qml ListView removeRow transition never receives running == false signal

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 142 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andreas Schacherbauer
    wrote on last edited by
    #1

    Hi,
    I have a user interface with a Qml ListView from which I remove certain rows. I would like to know when the remove transition is finished in order to update other parts of my application. I explicitly would like to wait until the transition is done. My Model calls the beginRemoveRows, then removes the element from the container and calls endRemoveRows. I assigned a custom Transition to the remove property of the ListView. If the transition is running or not is observed by creating a Connections object and implementing the onRunningChanged function for that specific transition.
    The problem is that the running state of the transition only changes to true, but never finishes by changing to false. This is in case I add a row. There, everything is fine.

    Does anyonw know if the problem is more likely in the model implementation or in the Qml side?

    Best regards
    Andi

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved