This video series was produced in the spring of 2020, during the COVID19-pandemic, when all lectures had to be held electronically, without physical attendance. It is a tutorial, in German, for building a small Qt GUI that visualizes the ongoing pandemic on a world map.
If the videos are too slow, feel free to speed them up by right-clicking, and adjusting play speed (Firefox only, as far as I know).
You may also download the videos and share them with your friends. Please do not upload them to social media or YouTube, but link to this website instead. If you want to modify them or create derivative works, please contact me.
The Qt for Python Video Tutorial by Bastian Bechtold is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Update: As of April 2022, all code examples have been updated to use PySide6. In particular, this changes the imports, replaces
app.exec(), and replaces
mouseEvent.position().toPoint() (see note in map11.py:).
2 Hello World
Our first GUI program, a window with a text label.
5 Signals and Slots
Make the button change the label's text if clicked.
9 Resize Event
10 Mouse Tracking
Highlight the country under the mouse.
11 Custom Signal
Respond to clicks of a country.
Improve the code by cutting out a middle man.
14 Pandas Integration
Load the COVID19 dataset and print some stats.
16 Table Header Data
Fill in the table headers from the dataset.
17 Country Selection
Show only a subset of the dataset when a country is clicked.
Summary, and a few finishing touches.