Yeah but so messy! I'm currently using a function to query the values of the
widgets, but this is even more long winded!
It's weird, Qt designer combined with loadUI seems like a very powerful and
fast way to build custom tools, and there is almost no documentation on how
to use it.


Another question...
Is there any way to make unsupported widgets like the dial trigger commands
in Maya?
so for example making the dial control the width of a cube dynamically...
with the signal/slots they can be connected to supported widgets no
problems, but this will not trigger any of the valueChanged type commands.



Or should I just bite the bullet and go the whole pyQt route? and if I do,
will that need to be compiled on all the workstation that use the pyqt
scripts?






On Sun, Jul 4, 2010 at 7:10 PM, John Creson <[email protected]> wrote:

> You might want to make a short mel procedure that turns around and
> passes the value correctly into a python function.
>
>
>
> On Sun, Jul 4, 2010 at 8:43 PM, Jamie Macdougall <[email protected]>
> wrote:
> > Hi...
> >
> > Pound one (#1) puts the current widgets value into a dynamic property in
> Qt
> > Designer
> > eg.
> >
> > property
> > -command
> >
> > value
> > someMel #1
> >
> > but this #1 symbol only seems to work for mel.
> >
> > Is there an equivalent for python? the pound symbol gives a syntax error
> > when the command is python.
> >
> > property
> > +enterCommand
> >
> > value
> > "somePython( #1 )"
> >
> > I've been searching for hours without luck.
> >
> > --
> > http://groups.google.com/group/python_inside_maya
>
> --
> http://groups.google.com/group/python_inside_maya

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

Reply via email to