Maya 2011 Highlight - QT user interface overview (plus GDC)
Posted: Mar 09, 2010
Category: Announcements, Autodesk Maya, MEL, Tips and Tricks
Social Media:
Well it's GDC time again. This will mark my 10th consecutive GDC and in turn my 10 year anniversary with Autodesk/Alias. GDC is always a good time. It's fun to get to see all of the great people I've met over the years gathered together in one place. It's also one of the few conferences that starts at a perfectly reasonable 10am. They apparently know their audience :) I just hope I can get all of my prep work finished and out of the way today so I can actually enjoy some of the nightly "socializing" that goes on. It's no fun to be stuck in a hotel room prepping demos when everyone else is out painting the town various colors.
This year will be extra exciting for us because we are announcing a ton of new stuff this week. As I'm sure you've seen by now Maya 2011 was announced yesterday. It's a huge release with tons of new features. I've been given the green light from Cory to start posting some demo movies of the new features. So I'll be spending the next few weeks here on the blog covering various topics related to "what's new in Maya2011".
For starters, this week I'm going to cover the basics of the new QT user interface. I'll also discuss how QT Designer can be used to create UI for your own custom tools. One thing I fail to point out in the demo movie is that all of your old MEL based UI should still be fine. You can still use the traditional MEL UI commands to create windows, buttons, sliders, etc... just as you always did. But now you have to option of creating your UI directly with QT as well.
BTW - let me also say that I am by no means a QT expert (still learning) so no low level QT specific questions please :)
BTW2 - you may notice at the end of the demo I show a QT-ified version of LayoutTools. This is something I'm still working on but hope to finish up soon. I'll posted the 2011 version of LayoutTools in a few weeks.
Note: Accidental F$%# tab has now been replace by the new Frack/Darn/Dang/Shoot/Shucks tab :)
In order to post any comments, you must be logged in!
so can i use custom widget? e.g. a transparent form
Posted by HorganovskiG9 on Jan 16, 2011 at 05:29 PM
After some looking around I learned that Qt does not currently support Float sliders, so I used MEL to divide the slider output value by 100 and then fed that back into a text field beside the slider. So now the user changes the slider in whole numbers from 0 to 100 but the output reads 0 - 1.
It works fine, but a little tedious to set up, hopefully in the future Qt integration will be more complete and this will be simpler to do.
Posted by HorganovskiG9 on Jan 15, 2011 at 08:45 PM
I'm taking my first steps with Qt Designer and Maya here and so far it looks great.
One thing I can't figure out though - If I create a slider and hook it up to an attribute, say the radius of a sphere object, the slider only works in integers. No matter what flag I try to add in Qt Designer (-step, -stepSize etc) I always get the slider working in whole numbers.
Anyone have any ideas on how to make it work as a Float value?
Cheers,
Brian
Posted by STLR on Jan 04, 2011 at 01:18 PM
Hi guys/gals - I'm afraid I don't have the bandwidth to follow up on all of the various QT UI questions that have come up... and honestly it's not really my area of expertise anyway. This post was really meant as a very general introduction. It appears that others have chimed in with a few answers, so thanks for that.
Otherwise I recently ran across a couple of tutorials that some of you may find helpful...