[Qt-interest] animated gif icon in a QTableView

Omar AKHAM crtx.omar at gmail.com
Tue Sep 7 02:49:04 CEST 2010


Le 07/09/2010 01:28, Tony Rietwyk a écrit :
> Hi Omar,
>
> I think this question was asked recently (by you?)


Yes, it was me :)

> with example code that
> showed the style being destroyed within the paint method.  How do you expect
> *the animation / progress bar to continue, if the style is destroyed?*  

It wasn't clear for me last time. But now, when I read "bold citation", 
The problem is clear.

> Surely your delegate will need to create a persistent widget that manages
> the animation for you?  Look at the example delegate that creates a
> spin-box, and adapt that for a progress bar, or label with a QMovie.
>
> Tony.
>    

Thank you very much.

Omar.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100907/603ef876/attachment.html 


More information about the Qt-interest-old mailing list