Latest articles

Latest updates from across the Python GUIs site. New tutorials, tips & updates added each month.
Showing articles for All (25) PyQt6 (15) PySide6 (0) PyQt5 (6) Streamlit (0) Tkinter (0) PySide2 (0) Kivy (0)

GUI freezing while updating (result from QRunner)

How to keep your PyQt6 GUI responsive when processing large numbers of updates

How to Reference the App Context from a Window in fbs ApplicationContext

Passing the ApplicationContext to your MainWindow when using fbs for PyQt5 packaging

Fixing "No such file or directory" for .ui Files When Using fbs freeze

Why your .ui file works with fbs run but breaks after freezing, and how to fix it

ModuleNotFoundError: No module named 'fbs_runtime'

How to fix the 'fbs_runtime' import error when running fbs projects outside of the fbs environment

Opening a subwindow from a button event

How to open a second window from a button click using PyQt6 and Qt Designer .ui files

Packaged installer file sizes for PyQt apps

Understanding and reducing the size of Python GUI application installers

Understanding .parent() vs. Parent Class in PyQt6 Custom Widgets

Why self.parent() doesn't mean what you think it means

QDialog blocking main thread?

Understanding why QDialog.exec() blocks your application and how to fix it

QWebEngine in Qt Designer

How to use QWebEngineView and other custom widgets in your Qt Designer layouts

Updating a QProgressBar from a QRunnable in PyQt6

How to safely update GUI widgets from background threads using signals and slots

Using Qt Designer .ui Files with fbs for PyQt5 Packaging

Load your Qt Designer interfaces directly in fbs-based applications without converting to Python

Why are signals defined as class variables?

Understanding why PyQt6 and PySide6 signals live on the class, not in __init__

Clearing the canvas in QPainter

Fix the common black background issue when painting on a QPixmap in PyQt6

Elegant shutdown of running threads

How to gracefully shut down QThreadPool workers when closing your PyQt application

How to start/stop or pause running threads?

Control QRunnable workers in PyQt6 with start, stop, and pause functionality

Pause a running worker thread

Put a running task on hold, waiting for the UI

Understanding QPainter Coordinates in PyQt6

How the coordinate system works for drawing on canvases in PyQt6

How to Pass Additional Arguments to a QRunnable Worker Function

Solving common errors when passing parameters to threaded Worker functions in PyQt5

Resizing the QPainter canvas

How to make a QLabel drawing canvas resize with the window

Why Omitting "if role == Qt.DisplayRole" Makes Your QAbstractTableModel Look Strange

Understanding Qt roles and why your table suddenly shows checkboxes, checkmarks, and filled squares

How to Check if a QLineEdit is Empty in Python

Empty strings are falsey in Python

AttributeError module 'time' has no attribute 'clock'

Fix PyQtGraph 'time.clock' error in Python 3.8+

How to Add Custom Widgets to Qt Designer

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

Using Complex Data Sources with PyQt6 Model/View Architecture

How to use JSON, nested data, and other complex structures in your Qt table and list views
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21