Nathan wasn't on this thread. David linked to a website ;-) Do you have a small reproducible example of your issue?
On Sun, 23 Nov 2014 4:49 PM johnkra <[email protected]> wrote: > Hi Nathan, > > I've dug this post up from a google search :) > > I tried this Panupat's calculator script and your suggestion out, however > Maya still locks me out of the primary window. I'm a newb on QT related > things and was hoping you could help! > > Best, > John > > On Tuesday, December 6, 2011 7:14:39 AM UTC-5, thirstydevil wrote: > >> It will be the app.exec_() call. >> >> There can only be one qApp and Maya is now built with QT. This is why it >> works in 2010 and not in 2011 and up. >> >> In fact. You only have 1 qApp even if 2 versions of QT maya's are up and >> running. >> >> just do:- >> >> form = Form() >> form.show() >> >> See http://nathanhorne.com/ >> >> for more useful stuff! >> >> >> On Tue, Dec 6, 2011 at 10:44 AM, Panupat Chongstitwattana < >> [email protected]> wrote: >> >>> Hi. >>> >>> I'm following example from a book "Rapid GUI Programming with Python and >>> Qt" >>> >>> http://www.qtrac.eu/pyqtbook.html >>> >>> I am on chapter 4 where it shows a little calculator script with gui. >>> >>> Running the pyw on windows, and copy paste the script into 2010, the >>> script works fine with nothing wrong >>> >>> On Maya 2012 tho it freezes Maya. The calcualtor itself does work, I >>> can move it around and do calculations. I don't understand what is it >>> doing that freezes Maya. Can anyone help look at the code? >>> >>> The code can be downloaded here, it's in chapter 4 called calculator.pyw >>> http://www.qtrac.eu/pyqtbook26.zip >>> >>> Best regard, >>> Panupat C. >>> >>> -- >>> view archives: http://groups.google.com/group/python_inside_maya >>> change your subscription settings: http://groups.google.com/ >>> group/python_inside_maya/subscribe >>> >> >> >> >> -- >> David Moulder >> http://www.google.com/profiles/squish3d >> > -- > 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/4a38be1b-7900-4751-84b7-42ffed51e546%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/4a38be1b-7900-4751-84b7-42ffed51e546%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA3wtXKJZfugqzMzGqX1ojDjsVv793_icW4La7RvANFgQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
