Showing articles for All (273) PyQt6 (158) PySide6 (52) PyQt5 (0) Streamlit (0) Tkinter (0) PySide2 (0) Kivy (0)

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

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

What does @pyqtSlot() do?

Is the pyqtSlot decorator even necessary?

What does @Slot() do?

Is the Slot decorator even necessary?

Understanding QPainter Coordinates in PyQt6

How the coordinate system works for drawing on canvases in PyQt6

Resizing the QPainter canvas

How to make a QLabel drawing canvas resize with the window

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

Understanding .data() in Qt ModelView Models

How views retrieve data from your model using the data() method

Keeping Your Main Window Open After Closing a Dialog in PyQt6

Why your app closes when you dismiss a dialog, and how to fix it

Embedding Matplotlib Plots Alongside Other Widgets in PyQt6

How to use Matplotlib canvases as regular widgets in your PyQt6 layouts

ModelView Autoselection

How to automatically select items in a QListView using setCurrentIndex and QModelIndex

Problem showing a widget (not Window)

How to properly inherit from QWidget when using Qt Designer UI files

Fixing "No module named plotwidget" when using PyQtGraph with Qt Designer

How to correctly promote a widget to PyQtGraph's PlotWidget in your .ui files

PyQtGraph plotting over time

Updating plots in real time with PyQtGraph and PyQt6

Install PySide6 on macOS

Step-by-step guide to installing PySide6 on macOS
1 2 3 4 5 6 7 8 9 10 11