- "WIth PyQt or a C++ plugin, technically yes [embed maya qt widgets within
a custom PyQt widget]"
- "You need pyqt or a c++ plugin to get at the qt objects themselves"

How does that work exactly? can you show an example?




- Ofer
www.mrbroken.com


On Thu, Mar 18, 2010 at 8:02 AM, Chris G <[email protected]> wrote:

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

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

To unsubscribe from this group, send email to 
python_inside_maya+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to