Title Image

Qt for Python: Tips and Tricks

4 hours 5 minutes
Chris Zurbrigg

Become a Patron!


A Qt-based Python series covering a wide range of short, one-off subjects with helpful tips for working with the Qt framework.

The purpose of this series is to present a collection of small Qt specific topics (often requests from Patrons) that fall outside the scope of the other courses and projects.
* This is a Patreon series. Project files and videos marked with a Patreon logo are Total Access exclusives.

Course Outline

20 Videos (4 hour 5 minutes)

00 - Introduction

A general overview of this series, the course requirements and what viewers can expect in upcoming lessons.

01 - Collapsible Widget (Part 1)

A detailed look at the creation of a collapsible widget similar to the one found in Maya's user interface.

02 - Collapsible Widget (Part 2)

In this lesson, the overall design of the collapsible widget is set up using two widgets -- one for the header and another for the body.

03 - Collapsible Widget (Part 3)

Continuing on from the previous lesson, this video focuses on the functionality of the body widget -- allowing users to add widgets and custom layouts.

04 - Collapsible Widget (Part 4)

Wrapping up the collapsible widget example, the logic behind collapsing and expanding the widget's body is implemented and some potential caveats are addressed.

05 - Resource Files

An overview of Qt's resource system, the benefits of resource files and how to leverage them in Python scripts.

06 - QFileSystemWatcher

Highlighting the QFileSystemWatcher class and how it can be used to monitor files and directories for modifications.

07 - Timers (Part 1)

A look at the different timers available in Qt and how they can be leveraged in script.

08 - Timers (Part 2)

Continuing on from the previous lesson, the remaining logic is added to the stopwatch example.

09 - QLineEdit Buttons

Highlighting a useful feature of the QLineEdit class that many users may be unaware of.

10 - Value Ladder Widget (Part 1)

Learn to create a Houdini-style Value Ladder Widget that allows the user to interactively edit a spin box, by small or large increments, using only the mouse.

11 - Value Ladder Widget (Part 2)

Taking advantage of event filtering in Qt, this lesson focuses on the general display and popup behavior of the widget.

12 - Value Ladder Widget (Part 3)

Focusing on the appearance of the widget, step value sections are added and section highlighting is implemented.

13 - Value Ladder Widget (Part 4)

With the look of the widget finalized, all that remains is the functionality to modify the spin box value by the active step size.

14 - Endless Mouse Drag (Part 1)

An overview of endless mouse dragging -- what it is and the challenges associated with it.

15 - Endless Mouse Drag (Part 2)

A first pass on the endless drag implementation with support for single monitor layouts.

16 - Endless Mouse Drag (Part 3)

Building on the previous lesson, support is added for wrapping across multiple monitors with mixed resolutions.

17 - Endless Mouse Drag (Part 4)

Wrapping up the endless mouse drag example, two issues associated with wrapping on the ValueLadderWidget are addressed.

18 - Animating Properties (Part 1)

Add a little extra polish to your Qt-based UIs with animated properties.

19 - Animating Properties (Part 2)

An example demonstrating how to animate the resizing of a window and some of the caveats to be aware of.

Additional Videos Coming Soon...

Related Courses