Martin Fitzpatrick
Senior Software Engineer, Python Tutor

Displaying NumPy Arrays and Pandas Data in QTableView Cells

How to handle complex data like NumPy arrays and Pandas Series inside a QAbstractTableModel

How to Show Only Icons in QTableView Cells (Hide Text)

Use custom model roles to display icons without text in your PyQt5 tables

Adding QComboBox to a QTableView and getting/setting values after creation

Use QItemDelegate to embed combo boxes in your table views, with per-row data and value tracking

PyQt6 Book Now Available: Create GUI Applications with Python & Qt6

The hands-on guide to building desktop apps with Python and Qt6

Deploying PyQt6 Apps on macOS with py2app

How to package your PyQt6 application into a standalone macOS .app bundle

Packaging PyQt5 applications into a macOS app with PyInstaller

Turn your PyQt5 application into a distributable macOS .app bundle

Passing Arguments to Threaded Functions in PyQt6

Understanding the difference between passing a function and calling a function when using QThreadPool and QRunnable

Sequential programming, threads, causality, and the nature of time

Why updating the GUI before a long-running task doesn't work the way you'd expect

Using QSettings to Save and Restore User Preferences in PyQt6

Build a settings dialog that persists user choices between application sessions

QTableView Align Currency Column Right with QStyledItemDelegate

Use Qt.TextAlignmentRole in your model's data() method to align columns in a QTableView

Drag & Drop TreeView Nodes to Reorder Items with a Custom Tree Model in PyQt5

Implement drag and drop reordering in QTreeView using a custom QAbstractItemModel

How to debug: QAbstractTableModel subclass does not call flags()

Understanding why flags() isn't called when using QDataWidgetMapper with standard widgets

How to Drag & Drop SVG Elements into a QGraphicsScene

Dragging and dropping SVG elements into a QGraphicsScene using QGraphicsSvgItem

Implementing "Open With" Context Menus in PyQt6

Query your Linux desktop for available applications and let users choose how to open files

Change color in QProgressBar delegate

How to dynamically change QProgressBar colors in a QTableView delegate

Custom style for menu items

How to use QWidgetAction to create menu items with custom background colors in PyQt6

Making Drawn Text Clickable and Editable on a QPixmap in PySide6

How to interact with text and other elements drawn onto a pixmap using QPainter

Create a Settings window

Build a settings dialog with QDialog, QGroupBox, QRadioButton and QSettings in PyQt and PySide

QSqlRelationalTableModel issue updating a row

Fixing column aliasing problems when editing rows with QSqlRelationalTableModel

How to Get the PyQt5 Version Number?

Find out which version of PyQt5 you're running
Showing articles for All (23) PyQt6 (9) PySide6 (3) PyQt5 (6) Streamlit (0) Tkinter (0) PySide2 (0) Kivy (0)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19