Qt comes with a large library of widgets built-in. But sometimes your applications need something different. In PyQt6 you can you design your own widgets, drawing them directly in your application.

In these tutorials we'll go through the basics of drawing graphics in Qt to building your own entirely custom widget.

Explore PyQt6 Custom Widgets

PyQt6 Custom Widgets

Animating Custom Widgets With QPropertyAnimation in PyQt6

Add dynamic visual effects and smooth animations to your custom PyQt6 widgets

Creating Custom GUI Widgets in PyQt6

Build a completely functional custom widget from scratch using QPainter

QPainter and Bitmap Graphics in PyQt6

Introduction to the core features of QPainter

Removing Gaps Between Custom Widgets in PyQt6 Layouts

Use size policies and size hints to control how custom-painted widgets fit together

Debugging widgets not appearing in Qt applications

How to figure things out when something goes wrong

How to Add Custom Widgets to Qt Designer

Use widget promotion to integrate your own Python widgets into Qt Designer layouts