On Thu, Mar 18, 2010 at 4:21 AM, Ofer Koren <[email protected]> wrote:

> A couple of Maya 2011/Qt questions:
> - Is it possible to embed maya qt widgets within a custom PyQt widget?
>

WIth PyQt or a C++ plugin, technically yes, but how well this would work
would probably be case by case because maya qt widgets aren't designed to be
put into custom ui like that.  There is a new command which will load a qt
designer xml file and create a maya qt ui based on it, that approach might
work better than creating a pure custom parent widget.  What did you have in
mind?


> - Are the Qt methods/attributes of Maya widgets accessible from python? or
> is it still through string-based mel commands (where basic datatypes are
> passed around instead of actual Qt objects)?
>

No, it the same commands as before, just with qt implementation under the
hood.  You need pyqt or a c++ plugin to get at the qt objects themselves.

- chris

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to