Qt5 comes with a huge number of widgets built-in, from simple text boxes to digital displays, vector graphics canvas and a full-blown web browser. While you can build perfectly functional applications with the built-in widgets, sometimes your applications will need a more.
This repo contains a library of custom Python Qt5 widgets which are free to use in your own applications. Widgets are compatible with both PyQt5 and PySide2 (Qt for Python). Currently the repository includes -
Widgets | Library |
---|---|
Graphical Equalizer Visualize audio frequency changes with configurable styles and decay from qtwidgets import EqualizerBar Documentation |
Power Bar Rotary control with amplitude display from qtwidgets import PowerBar Documentation |
Palette Select colours from a configurable linear or grid palette. from qtwidgets import PaletteHorizontal from qtwidgets import PaletteGrid Documentation |
Linear Gradient Editor Design custom linear gradients with multiple stops and colours. from qtwidgets import Gradient Documentation |
Color Button Simple button that displays and selects colours. from qtwidgets import ColorButton |
Paint Draw pictures with a custom bitmap canvas, with colour and pen control. from qtwidgets import Paint |
Password Edit A password line editor with toggleable visibility action. from qtwidgets import PasswordEdit |
Replace checkboxes with this handy toggle widget, with custom colors and optional animations from qtwidgets import Toggle from qtwidgets import AnimatedToggle Documentation |
For a more detailed introduction to each widget and a walkthrough of their APIs
see the custom widget library on LearnPyQt.
More custom widgets will follow, if you have ideas just let me know!
Licensed MIT/BSDv2 feel free to use in your own projects.