Qt comes with a large library of widgets built-in. But sometimes your applications need something different. In PyQt5 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 PyQt5 Custom Widgets

PyQt5 Custom Widgets

Avoid gray background for selected icons

Create a custom ToggleButton widget to replace QAction checkable icons without the default gray selection background

Animating Custom Widgets With QPropertyAnimation in PyQt5

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

How to Add Custom Widgets to Qt Designer

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

Creating Custom GUI Widgets in PyQt5

Build a completely functional custom widget from scratch using QPainter

QPainter and Bitmap Graphics in PyQt5

Introduction to the core features of QPainter