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.

Created by Riverbank Computing, PyQt is free software (GPL licensed) and has been in development since 1999. PyQt5 was released in 2016 and last updated in October 2021.

For a complete guide to desktop application development with Python & PyQt, see the PyQt5 tutorial and my PyQt5 book Create Simple GUI Applications with Python & Qt.

Explore PyQt

Showing articles for All (341) PyQt6 (128) PySide6 (100) PyQt5 (292) Tkinter (92) PySide2 (97)

Add Scrollable Regions With QScrollArea in PyQt6

Run out of space in your GUI? Add a scrollable region to your application

Simple threading in PyQt/PySide apps with .start() of QThreadPool

How to move Python functions/methods & PyQt/PySide slots onto separate threads

Using QProcess to Run External Programs in PyQt6

Run background programs without impacting your UI

QComboBox

Drop-down selection widget

Q&A: How to fix widgets appearing as separate windows?

Understanding Qt parents and layouts and the effect on widget position

Embedding Custom Widgets from Qt Designer in PyQt6

Learn how to use custom widgets in your PyQt6 applications when designing with Qt Designer

Creating Dialogs With Qt Designer and PyQt6

Using the drag and drop editor to build PyQt6 dialogs

Introduction to the QGraphics Framework in PyQt5

Creating vector interfaces using the QGraphics View framework

Introduction to the QGraphics Framework in PySide2

Creating vector interfaces using the QGraphics View framework

Creating Additional Windows in PyQt6

Opening new windows for your application

Q&A: How can I enable editing on a QTableView?

Modifying your model to allow editing of your data source

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

QPainter and Bitmap Graphics in PySide6

Introduction to the core features of QPainter

The ModelView Architecture in PyQt6

Qt's MVC-like interface for displaying data in views

Transmitting Extra Data With Qt Signals in PyQt6

Modifying widget signals to pass contextual information to slots

PyQt6 Toolbars & Menus — QAction

Defining toolbars, menus and keyboard shortcuts with QAction

PyQt6 Dialogs and Alerts

Notify your users and ask for their input

PyQt6 Layouts

Use layouts to effortlessly position widgets within the window

PyQt6 Signals, Slots & Events

Triggering actions in response to user behaviors and GUI events
1 2 3 4 5 6 7 8 9 10 11 12 13 14