Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Creating GUI Threads with Python PySide 6 and QThreadPool

Penguin Tutor via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Learn how to create responsive GUI applications using Python PySide 6 and QThreadPool in this 23-minute tutorial. Discover how to implement multithreading in graphical applications built with the Qt Framework to maintain responsiveness during operations. The video addresses common pitfalls specific to Python and provides practical examples that go beyond the basic implementations found in online documentation. Follow along as the instructor demonstrates a problematic single-threaded approach, implements QThreadPool (including debugging a common issue), explains the Signals and Slots mechanism for thread communication, shows how to pass arguments to worker threads, and concludes with important performance considerations. Access the complete source code and additional resources through the accompanying website link.

Syllabus

00:00 Introduction
02:26 A bad example - no threads
05:59 Adding QThreadPool with bug
10:06 Signals and Slots
14:23 Passing arguments to the thread
20:27 Warning about performance

Taught by

Penguin Tutor

Reviews

Start your review of Creating GUI Threads with Python PySide 6 and QThreadPool

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.