[Maya-Python] Re: PyQt in Maya examples

2009-10-26 Thread David Moulder
Here it is, This version has fixed our threading errors that occurred where maya wouldn't close correctly and leave 1 mayapy thread open. -Dave ### from PyQt4 import QtCore, QtGui import maya.utils as utils import sys import time import threading import maya.cmds as

[Maya-Python] Re: PyQt in Maya examples

2009-10-26 Thread John Creson
Thanks David! On Mon, Oct 26, 2009 at 9:13 AM, Sylvain Berger sylvain.ber...@gmail.com wrote: Thanks a lot David! On Mon, Oct 26, 2009 at 5:23 AM, David Moulder da...@thirstydevil.co.uk wrote: Here it is, This version has fixed our threading errors that occurred where maya wouldn't

[Maya-Python] Re: PyQt in Maya examples

2009-10-23 Thread Sylvain Berger
Where can I find your version of pumpThread? Thanks On Tue, Sep 29, 2009 at 5:24 AM, David Moulder da...@thirstydevil.co.ukwrote: Ok, Here's and basic example with PyQT and a QListWidget... Please note. This use's a modified pumpThread module. The default one from the maya dev kit has

[Maya-Python] Re: PyQt in Maya examples

2009-09-29 Thread David Moulder
Ok, Here's and basic example with PyQT and a QListWidget... Please note. This use's a modified pumpThread module. The default one from the maya dev kit has given us lots of problems. Thanks to some very clever people on this list we now have a working pumpThread module that is heavily tested

[Maya-Python] Re: PyQt in Maya examples

2009-09-29 Thread floyd1510
Thanks Dave for the example. The problem is that I couldn't get the example running. Following is what I executed in Maya : import example example.ExampleUI() This outputs the following : # Result: example.ExampleUI object at 0x2268B6A8 # Then on running : ExampleUI.Display() , I get an

[Maya-Python] Re: PyQt in Maya examples

2009-09-29 Thread Chad Dombrova
try: example.ExampleUI.Display() ExampleUI is inside the example module, so you have to prefix it with the module name -chad On Sep 29, 2009, at 9:53 PM, floyd1510 wrote: Thanks Dave for the example. The problem is that I couldn't get the example running. Following is what I executed