Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8336719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:04:56+00:00 2026-06-09T04:04:56+00:00

I have a listview element like this : ListView { id: view width: 200;

  • 0

I have a listview element like this :

ListView {
    id: view
    width: 200; height: 250
    model:myModel;
    delegate:
        Text{
            text:  bareJid + ' '+status;
            Image{
                source:image;
            }
        }
}

in the delegate Image element gets its image from a QDeclarativeImageProvider . but when the content of the image changes myModel doesn’t update. How can I notice it to reload image when the content of the image has changed.
thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:04:58+00:00Added an answer on June 9, 2026 at 4:04 am

    The Image item will not attempt to re-fetch the image at all unless the source is changed. Typically this is achieved by appending an id, which you can increment, to the end of the image name and dealing with that in your model and provider. You should also set cache: false since there is no point caching an image that is changing.

    Another possibility may be to set cache: false and change the image role first to “”, and then back to the actual name, remembering to emit dataChanged after each change. Note that the image must not have previously been loaded with cache: true, or the cached version will be used regardless (this is fixed in QtQuick 2.0).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom listView. The main layout xml is something like this: <?xml
I have an image container based on Jquery Mobile listview element structure. Looks like
I have a ListView with EditText inside. Actually, when i touch an element of
I have a GridView in a ListView contained in a ScrollViewer element. I understand
I have a ListView element with a DataTemplate for each ListViewItem defined as follows.
i have a listview that use a simple adapter. Basically each element consist of
I have a List and it is filled with strings like this: List<string> data
I have a listView vith some items. I would like to get from my
I have already created a dynamic list view that passes text to a SimpleAdapter,
I have a listview : <ListView android:clickable=true android:id=@android:id/list android:layout_width=match_parent android:layout_height=wrap_content > </ListView> the elements

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.