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 Image in a ListView

QML Image in a ListView

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

    Hi,

    I'm facing a problem since many days, without finding a solution.

    I have a full-parent-anchored ListView, with a QML Image as delegate, as big as the listview. The ListView is not interactive, and the model is just a simple stringlist filled with all the image filenames found in a path. I have a toolbar on top, where I can go forward and backward (i.e. I increment/decrement the currentIndex).

    What happens is that, sometimes, when I move fw/back, the image does not appear. If I move fw/back one index and then I return to the fault image, the image appears. The behavior is totally random.

    I've logged everything (filename, image status), but everything seems fine. With Qt simulator, it doesn't happen, but this issue is present on my C7 (running Qt 4.7.4).

    I really don't know where the problem could be. Do you have any idea?

    Thanks,
    Tony.

    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