[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 wrote: > Thanks a lot David! > > On Mon, Oct 26, 2009 at 5:23 AM, David Moulder > wrote: >> >> Here it is, This version has fixed our threading errors that occurred >> where maya wouldn't close correctly and leave 1 mayapy thread

[Maya-Python] Re: PyQt in Maya examples

2009-10-26 Thread Sylvain Berger
Thanks a lot David! On Mon, Oct 26, 2009 at 5:23 AM, David Moulder wrote: > 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, QtG

[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 c

[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 wrote: > 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

[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 exec

[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: # Then on running : ExampleUI.Display() , I get an error saying ExampleUI is not defined. A

[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 her