Glad to hear you solved it.
The whole integration of Qt widgets with the legacy Maya commands api is a
bit if a grey area to me. They map them under the hood to whatever the
native UI concepts were. It is usually best to try and avoid all UI
commands, if you can help it, when you have committed to a Qt interface.
Also I see that Qt Designer file support as kind of a gimmick. Or at least
a really easy way for someone to transition into Qt in Maya. They have
those features for a named button automatically wiring up to named
callbacks if you use the right +/- syntax. But ultimately you might come to
find that there is only so much you can do with that. Ends up being easier
to just write a few lines of Qt UI code directly, and have full access
through the Qt API. No UI files or Maya native UI commands to muck with.

On Sun, 22 Mar 2015 2:39 PM AK Eric <[email protected]> wrote:

> Thanks Justin : lol, I'd forgot I'd posted this and ended up coming up
> with the exact same solution.  Which works great by the way.
> I'm still pretty new to the whole "let's load a .ui file and play with it
> thing", but I've done tests where in QtDesigner I will create say, a QPush
> button with a given name:  lsUI won't find it, but if I query it with the
> Maya button command by name, I can do stuff to it.
> Innnncoonnnssisteeennntt....
> :S
>
> --
> 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/baf2787d-75c9-4a76-9419-d55415f368ae%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/baf2787d-75c9-4a76-9419-d55415f368ae%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/CAPGFgA0ys5BOUJWaauATPpHLLbU8ZCsA2LT6KUutgThTgxNxPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to