Re: [Maya-Python] pyqt node interface

2012-09-13 Thread Jeremie Passerin
You got this one open source too : http://openassembler.wordpress.com/ but yeah QGraphicsScene and the QGraphicScene Items is what you should look at On 13 September 2012 00:50, cesacaod wrote: > If it's possible...all!!! > > -- > view archives: http://groups.google.com/group/python_insi

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Justin Israel
I have my blog post about it: http://www.justinfx.com/2011/11/09/installing-pyqt4-for-maya-2012-osx/ On Thu, Sep 13, 2012 at 5:14 PM, jdob wrote: > PyQt has to be built against the same version of qt that maya is using (2013 > uses 4.7.1). Not only that, but the compile flags have to match what

[Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread jdob
PyQt has to be built against the same version of qt that maya is using (2013 uses 4.7.1). Not only that, but the compile flags have to match what Autodesk used - they publish this somewhere. I don't recall where that is at the moment, but I bet Google knows... If you don't do this, it will be

[Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Carlo
I tried the way you but Maya still continues to crash. I wrote the lines in the __init__ file: qt= 'W://SCRIPT_LIBRARY//__PublicMode//PyQt' print( qt) qt= os.path.normpath( qt) sys.path.append( qt) Because Maya would give me the error # Error: ImportError: No module named PyQt4.QtCore # . If I

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread jdob
Don't get me wrong - I use it all the time. It's very useful for development, but there are a bunch of caveats/gotchas to be aware of. For example, I like to use super() in MyWidget.__init__() which can prevent me from being able to use reload() at all. Many of the gotchas are pretty subtle

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Justin Israel
reload(myModule) always works just fine for me. I usually just have it in the script editor and highlight it and hit ctrl+enter On Thu, Sep 13, 2012 at 3:37 PM, jdob wrote: > Works for me with PyQt4.8.5, Qt 4.7.1 Autodesk (Maya2013 w/Fedora 15). > Depending on how you're using this, it may h

[Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread jdob
Works for me with PyQt4.8.5, Qt 4.7.1 Autodesk (Maya2013 w/Fedora 15). Depending on how you're using this, it may have something to do with that interesting little bit of module reloading inside __init__.py tho. While the desire to iterate quickly (without restarting maya repeatedly) is under

Re: [Maya-Python] Re: New powerful code editor

2012-09-13 Thread Justin Israel
Ya I stopped using Eclipse when it wouldn't stop crashing on me and doing crazy scans all the time of the filesystem. It as just so bulky. I kind of like that the AST search only comes up via hotkey because it remind me of nuke with the tab key for quickly adding a Node, You don't have to take up s

Re: [Maya-Python] Re: New powerful code editor

2012-09-13 Thread PixelMuncher
Yeah, I had found crtl + r, but it doesn't float does it? Maybe I'm a wimp, but I've grown accustomed to having a navigable list of all the functions and vars in my code (just beginning to use classes). I use FlashDevelop for AS3, and they have that feature. Eclipse also has the multi-file s

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Justin Israel
Something doesn't seem right. It would seem more likely a bug in the code vs a bug in the Qt framework or anything. I wasn't seeing any issues raising the window with your code. On Thu, Sep 13, 2012 at 1:53 PM, Carlo wrote: > Oh my mistake, I didn't even realize that I had type QWidget instead o

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Carlo
Oh my mistake, I didn't even realize that I had type QWidget instead of QMainWindow. I am using Qt 4.7.1. I tried using the way of inheriting that you posted but lost the entire GUI I had setup and just got a blank box. This must be a bug of some sort due to the fact that it does sometimes act

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Justin Israel
What version of Qt/PyQt4 are you using? I just tested this on OSX using one of my prebuilt packages: PyQt 4.9.4 Qt 4.7.1 Autodesk modified Your code does not crash for me. However you may want to fix the way your are inheriting to this: class testMe_GUI(base_class, form_class): def __ini

[Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Carlo
I haven't/ did not know about that command. I tried switching my code to the pyqtSlot, but keep getting the same result. =( -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

Re: [Maya-Python] Re: New powerful code editor

2012-09-13 Thread Justin Israel
Cmd/ctrl + r ? That will show you all of the class and functions in your code. I had the same question when I first started using it until I found there are a bunch of hotkeys. Its really great how it jumps you around as you type. The find feature is excellent too. You can search by regex and i

[Maya-Python] Re: New powerful code editor

2012-09-13 Thread PixelMuncher
After spending the morning trying to fix Eclipse/Pydev problems, I checked out Sublime. It doesn't have a separate list of functions and vars - why do people like it so much? -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.g

Re: [Maya-Python] PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Justin Israel
Oh, I forgot you are using the connect by name feature. So I guess you do need it then. On Sep 13, 2012, at 1:12 AM, Justin Israel wrote: > Haven't run into that one yet. But also, I don't really use the slot > decorators at all. I haven't found a situation where I was required to use > it

Re: [Maya-Python] PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Justin Israel
Haven't run into that one yet. But also, I don't really use the slot decorators at all. I haven't found a situation where I was required to use it. Can you just not use them? I know thats not really a good answer. But if there is no downside... On Sep 12, 2012, at 4:47 PM, Carlo wrote: > He

Re: [Maya-Python] pyqt node interface

2012-09-13 Thread cesacaod
If it's possible...all!!! -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe