Thanks for posting this - I used it and it works perfectly for my needs.
On Wednesday, 9 September 2015 15:17:02 UTC-7, Antonio Govela wrote:
>
> Sorry.. it was late and was getting kinda lost. So I managed to clean the
>>> code and actually trigger an animated gif widget using events. >> widgets
The MouseMove event seems to trigger the movie.start only once. so even if
the event keeps triggering with a slight mouse move (which it does) the gif
plays through and loops, which is the functionality I was looking for.
I'm looking into your suggestion about reimplementing event() on the
cla
Thanks for doing the pastebin. Much better.
Wouldn't the event trigger at each pixel move, and call start? Also, you
don't need to install an event filter if you are installing it on itself.
It would be the same as just reimplementing event() on that class.
On Thu, Sep 10, 2015 at 10:28 AM Kuri
http://pyqt.sourceforge.net/Docs/PyQt4/qmovie.html#started did you check
the default signals from QMovie ?
On Wed, Sep 9, 2015 at 3:17 PM, Antonio Govela wrote:
> Sorry.. it was late and was getting kinda lost. So I managed to clean the
>>> code and actually trigger an animated gif widget using
>
> Sorry.. it was late and was getting kinda lost. So I managed to clean the
>> code and actually trigger an animated gif widget using events. > widgets can be added with classes and respond independently to the 'hover
>> over and leave' mouse tracking.
>
>
Here's the code: http://pastebin.co
Can you please just use a pastebin? This code is hard to read. I'm also
having trouble following some of the usages in here... such as the
persistent model index, and calling to the QTableWidget eventFilter,
randomly.
On Wed, Sep 9, 2015 at 5:30 PM Antonio Govela wrote:
> I cleaned up the code
I cleaned up the code a bit...I just realized since I hadn't restarted maya
for a while, the code was not working because I moved a class around.
Still stuck though.
Thanks!
code:
from PySide import QtGui
from PySide import QtCore
import PySide.QtCore as qc
import PySide.QtGui as qg
from P
I cleaned up the code a bit...I just realized since I hadn't restarted maya
for a while, the code was not working because I moved a class around.
from PySide import QtGui
from PySide import QtCore
import PySide.QtCore as qc
import PySide.QtGui as qg
from PySide.QtCore import *
from PySide.QtGui