Advanced PyQt for Maya
Throughout these lessons, we'll learn that Qt is an extensive and powerful UI library that is capable of creating anything from a simple group of buttons to a full application. Software required: Maya 2015, Sublime Text 3.
What you'll learn
Throughout these lessons, we'll learn that Qt is an extensive and powerful UI library that is capable of creating anything from a simple group of buttons to a full application. We'll start with an overview of the basics, using standard widgets and layouts, and connecting them together. Next, we'll build a simple naming tool that demonstrates how to quickly put together a professional-looking interface to work with Maya scripts. Finally, we'll take on a larger project that shows you how create your own custom widgets, modify their appearance and function, add animation and special effects, then seamlessly merge your tools into Maya. Software required: Maya 2015, Sublime Text 3.
Table of contents
- Introducing QDialog and QMainWindow 9m
- Exploring Layouts 10m
- Modifying Layouts 7m
- Using Standard Widgets 10m
- Utilizing Signals and Slots 10m
- Exploring the Name It Tool 10m
- Subclassing QDialog and Handling Creation/Deletion 8m
- Adding Layouts and Widgets 11m
- Creating a Custom Splitter Class 9m
- Adding the Custom Splitter to the Tool 9m
- Using Regex Validators 11m
- Applying New Name Function 10m
- Connecting the Rename and Replace Functions 6m
- Introducing the Interpolate It Tool 8m
- Creating a Basic Interpolation Tool 10m
- Adding State Storing Functions 10m
- Finishing the Basic Interpolation Tool 6m
- Creating Dockable UIs in Maya 3m
- Expanding the UI for Multiple Interpolation Tools 10m
- Adding Animation 10m
- Continuing to Add Animation 8m
- Using QGraphics to Animate Opacity 9m
- Using Inline Stylesheets 3m
- Writing a Stylesheet File 10m
- Discussing Stylesheet Classes, Actions, and Components 11m
- Creating Custom QPushButton 11m
- Building Custom Pens and Brushes 10m
- Painting the Button Background 10m
- Creating a Base Class for Glow Animation 10m
- Painting Glowing Text 10m
- Creating Custom QCheckbox 10m
- Setting up Custom QLabel 11m
- Building Custom Slider 11m
- Adding Slider Glow 10m
- Applying After Glow to Slider Movement 9m
- Creating Custom QLineEdit 10m
- Implementing Text Tracking with Timer 10m
- Triggering the Glow Animation 10m
- Adding Glow on Selected Text and Cursor 5m
- Clearing the UI 10m