[Interest] What is the best way to refresh QML image

Daniel França daniel.franca at gmail.com
Tue Mar 10 11:49:59 CET 2015


So I think this discussion can help you:
http://forum.qt.io/topic/6935/how-to-reload-an-image-in-qml/3

Em ter, 10 de mar de 2015 às 11:47, Harri Pasanen <harri at mpaja.com>
escreveu:

>  Exactly: I want QML Image to have a refresh() method that will force it
> to reload the image.
>
> One use case:  let's say I have a jpg on disk that I'm showing in QML.
> If I edit the image in an external application and save it again with the
> same name,
> I'd like to be able to reload the image without changing the source name.
>
>
>
>
> Harri
>
>
> On 10/03/2015 11:34, Daniel França wrote:
>
> What exactly you want to do?
>
> Em ter, 10 de mar de 2015 às 11:26, Harri Pasanen <harri at mpaja.com>
> escreveu:
>
>> Hi,
>>
>> Is there a way to force QML image to refresh, other than changing its
>> "source" property?
>>
>> Thanks,
>>
>> Harri
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150310/ccaccd6e/attachment.html>


More information about the Interest mailing list