Create Python GUIs with Qt

PyQt is a Python binding of the cross-platform GUI toolkit Qt. Applications built with PyQt will run on any platform supported by Qt & Python including Windows, OS X, Linux, iOS and Android. For a complete guide to desktop application development with Python & PyQt, see my PyQt5 book Create Simple GUI Applications with Python & Qt.


Password editing field, with Show/Hide toggle

Transmitting extra data with Qt Signals

Modifying widget signals to pass contextual information to slots

Layout management

Use layouts to effortlessly position widgets within the window

Signals, Slots & Events

Triggering actions in response to user behaviors and GUI events

Q&A: Are there any built-in QIcons?

Using built-in icons for your apps.

Q&A: How to check if a QLineEdit is empty?

Empty strings are falsey in Python

Implementing QPainter flood fill in PyQt5/PySide

Filling irregular regions in a QPainter canvas

Packaging PyQt5 applications for Windows, with PyInstaller

Turn your Qt5 application into a distributable installer for Windows
1 2 3 4 5 6 7 8