With the for loop the UI was being locked so I had to find another 
solution. 
I ended up using QTimer to call a function after a given period of time. 
and now it works pretty sweet :)

On Wednesday, November 5, 2014 9:56:25 PM UTC+1, Arvid Schneider wrote:
>
> I probably solved it using qLabel.repaint() :D
>
> On Wednesday, November 5, 2014 6:29:31 PM UTC+1, Arvid Schneider wrote:
>>
>> I have seen that thread. As far as I can see its just for movie formats..
>>
>>
>> On Wednesday, November 5, 2014 6:27:57 PM UTC+1, Marcus Ottosson wrote:
>>>
>>> Maybe this can be of help.
>>>
>>>
>>> http://tech-artists.org/forum/showthread.php?3971-PyQt-Using-Phonon-in-Maya
>>>
>>> On 5 November 2014 17:07, Arvid Schneider <[email protected]> wrote:
>>>
>>>> Hey, me again. 
>>>> I have rendered a sequence of images lets say 10. 
>>>> I am trying to playback them in a custom window. 
>>>>
>>>> my approach sofar was to use a for loop where I define for each loop a 
>>>> qimage and pixmap which i am adding to a qlabel. And to get the correct 
>>>> FPS 
>>>> I am using a sleep timer. I did work good when I didnt use the QT 
>>>> approach. 
>>>> With the renderView loadImage flag it was working good. But the the 
>>>> functionality should work within a qt window. 
>>>>
>>>>
>>>> Can someone help me out please :)
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Python Programming for Autodesk Maya" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/python_inside_maya/d926c36a-03b7-4aac-b873-2e6d9a48a950%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/python_inside_maya/d926c36a-03b7-4aac-b873-2e6d9a48a950%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> *Marcus Ottosson*
>>> [email protected]
>>>  
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/3dd76bf2-8947-4d41-ba30-b0cf55c36f9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to