Hi Guys,
I have been following through these tutorial regarding QT and Maya;
http://animateshmanimate.com/2010/07/19/maya-and-qt-tutorial/23
https://www.creativecrash.com/maya/tutorials/scripting/mel/c/using-qt-designer-for-mel-interfaces21
I am porting the instructions into python edit - pyMel, naturally as I go, and all is well except;
I cannot get the push button widget to run a command.
In Mel; you add dynamic property to the budget called -c (for button() command flag), and then in the string field you enter your command.
In Python, I am not sure... I have tried the following, with no error, but no result;
(dynamic property, command)
command = , print "Foo"
command , = print "Foo"
command, print "Foo"
command, (print "Foo")
No Potato. Any advice would be appreciated
Thanks Guys!
created
Aug '10
last reply
Sep '10
- 4
replies
- 4.9k
views
- 1
user
- 4
links