[[ activeDiscount.description ]] I'm giving a [[ activeDiscount.discount ]]% discount on my books with the code [[ couponCode ]].

The Qt6 editions of my books are now available, supporting Python 3 with PyQt6 and PySide6.

Custom Widgets
Designing your own custom widgets in PyQt

Widgets in Qt are built on bitmap graphics — drawing pixels on a rectangular canvas to construct the "widget". To be able to create your own custom widgets you first need to understand how the QPainter system works and what you can do with it. In this PyQt5 tutorial we'll go from basic bitmap graphics to our own entirely custom widget.

Start with “QPainter and Bitmap Graphics”

Custom Widgets

QPainter and Bitmap Graphics

Introduction to the core features of QPainter

Creating custom GUI widgets in PyQt5

Build a completely functional custom widget from scratch using QPainter

Animating custom widgets with QPropertyAnimation

Add dynamic visual effects to your custom widgets

Start now