Summary

In this chapter, we learned all about using PySide to build graphical user interfaces. First, we went over some important concepts and strategies for building GUIs with PySide. Then we saw how writing your interface with Qt is superior to using a WYSIWYG editor or Maya commands. Our main project was building a GUI frontend for the hierarchy converter library we built in Chapter 2, Writing Composable Code. We developed and tested the GUI totally outside of Maya, including mocking up how it responds to user interaction. We then hooked it up for actual use in Maya with a minimal amount of code. Finally, we did some work with Maya's menu system, creating a system to mark menu items as new, and revert their styling the first time they are clicked. ...

Get Practical Maya Programming with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.