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. Removing Items From a PathView
Forum Updated to NodeBB v4.3 + New Features

Removing Items From a PathView

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 2.0k 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.
  • H Offline
    H Offline
    Hornsj2
    wrote on last edited by
    #1

    I have a pathview that rotates through data in an underlying ListModel (Like the spinner example "Here":http://doc.qt.nokia.com/4.7-snapshot/declarative-ui-components-spinner.html ).

    My problem is that I want to dynamically add/remove items as it spins around. (Add to one side, remove from the other.)

    I can add items to the underlying model just fine, and it spins through them.

    The problem comes when I want to remove items which have been displayed and are no longer in the visible area. I can't seem to find a way to do this which doesn't interrupt the spin.

    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