creating a gui in python - easy way?

111 views
Skip to first unread message

s...@weacceptyou.com

unread,
Apr 14, 2016, 6:47:44 PM4/14/16
to Python Programming for Autodesk Maya
Hi there,

i have been looking into using qt designer to create my interface but it seems a bit of a fuss to download and make work properly.

is there not just an intermediate way. Not using cmds but something intuitive to generate a simple but stylish interface for my program?

Also if i did use something like pyQt to create my interface, does that mean that if i try and run my program on a different machine, that machine will need to have pyQt installed also. Not too sure how it works.

Anyway if anyone knows of any cool new ways of creating a gui, i would appreciate to know the best route to take.

thanks,
Sam

Joe Weidenbach

unread,
Apr 14, 2016, 7:07:17 PM4/14/16
to Python Programming for Autodesk Maya
Hi Sam,

If you're  working with Maya 2014 or later, you have PySide built in, so there would be no need for PyQt (and it's a fairly trivial conversion in skills).

Python does have TKinter bundled on most systems, but I can't speak to how that is as a gui interface.  If you don't want to work with Maya's ui interface (in cmds), I'd say PySide's the way to go.  It's also pretty easy to install on a standalone Python install as well once you have pip.

Hope that helps,

Joe

--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/056aa6c0-ac75-4584-ab64-11be57bf9667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

s...@weacceptyou.com

unread,
Apr 15, 2016, 3:47:44 PM4/15/16
to Python Programming for Autodesk Maya
thanks Joe, i will check out pySide tonight;)

Sam

Tom Norman

unread,
Apr 20, 2016, 11:03:00 AM4/20/16
to Python Programming for Autodesk Maya, s...@weacceptyou.com
Qt designer is included with maya. No need for a separate download and install.

navigate to your maya install directory and then you'll find a designer executable in the bin folder. something like C:/Program Files/Autodesk/Maya XXXX/bin/designer.exe (on windows)

and as joe said... pyside is bundled with maya so no need for pyqt. all that's needed to import pyside in maya is

from PySide import QtGui as qt
from PySide import QtCore as qtc
Reply all
Reply to author
Forward
0 new messages