Qt layouts and controlls

Hey guys, Ive been exploring more and more into using Qt over Mel windows. However I’m not quite sure on how to get started. I can get buttons to work using Mel and a ui interface made in Qt designer but that is definitely not taking advantage of Qt.

How have you guys obtained the information needed to learn Qt? names of tutorials?

Thanks!

First thing I would do is switch over to Python. That way you can start using PyQt and really dig into Qt.
(Also I love python…so I could spout off another gajilion reasons to change)
If you stay using Mel with Qt, you’re sort of constrained to the Qt Designer features(which are pretty solid actually)

I started learning PyQt on the job at RnH making UI’s for my distributed tools. Unfortunately the UI for Qt Designer ironically doesn’t work at work, so I forced myself to learn

http://zetcode.com/tutorials/pyqt4/
These ^ were a great help in getting started, as well as searching through here and stackoverflow. I would also suggest Nathan Hornes blog and joining the python maya google group.
You can also convert Qt Designer ui files to PyQt classes and learn like that too.

Really PyQt isn’t that different from using regular MEL UI’s/cmds ui’s other than the initialization process/parenting. But it gives you soooo much more control over how things are viewed.

It looks like persons keeping replacing the subject of and I constantly followed in search of valuable info and always get a lot of these junk response. Not really cool

be or not to be, that is not the question
ebay

Thanks dgovil!

Dhruv is right, you certainly should look into python for implementing qt ui in maya.

If you check out the Area , they have a couple of introduction classes to pyQt in Maya and a class on how to use it to create UI for both Maya and MotionBuilder. This brings up another strength about pyQt, which is it is software independent and you can use the same code and keep the same design in multiple os and software packages. The first two classes are basically the same except one covers using mel with pyQt while the second just explains the difference between pyQt and pySide.

The Area Master Classes:
Title: Oh my, Maya is QT
Description: pyQT overview and how to implement it with mel and python
http://area.autodesk.com/masterclasses/masterclass/class2_q2_2012_kristine_middlemiss

Title: The wonderful world of pyQt, pySide and Autodesk Maya
Description: pyQT and pySide within Maya
http://area.autodesk.com/masterclasses/masterclass/class2_q2_2012_kristine_middlemiss

Title: David Coleman - Creating QT interfaces for Maya and MotionBuilder

Description: How to use pyQT to make interfaces
http://area.autodesk.com/gdc2011/class3

“Oh my, Maya is QT” link is wrong - should be: http://area.autodesk.com/masterclasses/masterclass/class2_q4_2011

Also, make sure you’re registered and logged in with area.autodesk.com before you click dalevl’s links. Thanks dalevl.