Creating GUI threads with Python PySide 6 and QThreadPool

Pubblicato il: 31 marzo 2025
sul canale di: Penguin Tutor
2,227
53

Creating graphical applications using PySide. PySide is a python library for using the Qt Framework.
Pyside provides a convenient way of creating GUI applications. Note that much of this applies to other GUI applications, but the implementation would be different if using different programming languages or GUI frameworks.
There are some other things that are specific to Python and there are some pitfalls which I explain in the video.

The aim in this video is to show how you can use QThreadPool to ensure the application continues to be responsive when performing other operations. This is not the only option but some way of using an alternative thread or process is needed for most GUI applications.

There are documents online that explain some of this, but I found that they only give very basic examples, and I found it difficult to apply those in my project. So that’s why I thought it would be useful to provide an example how these can be applied.

For more details (including source code) see: https://www.penguintutor.com/programm...

Chapters:
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


In questa pagina del sito puoi guardare il video online Creating GUI threads with Python PySide 6 and QThreadPool della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Penguin Tutor 31 marzo 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,227 volte e gli è piaciuto 53 spettatori. Buona visione!