Showing articles for All (463) PyQt6 (164) PySide6 (52) PyQt5 (99) Streamlit (0) Tkinter (0) PySide2 (40) Kivy (0)

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

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

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

Customizing the Size of a PyQtGraph Plot

Control where and how large your PyQtGraph plots appear in your PyQt5 application

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

Plotting time series data with PyQtGraph

Display datetime data on PyQtGraph plot axes, including when using Qt Designer

Problem showing a widget (not Window)

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

PyQtGraph errors in Spyder/IPython

Fixing common PyQtGraph color, font size, and compatibility issues

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

Spyder IDE gets stuck when running PyQt5 applications

How to fix the frozen console and unresponsive window problem in Spyder

Writing for PyQt5 & PySide2

How to write code that works seamlessly with both PyQt5 and PySide2

PasswordEdit

Password editing field, with Show/Hide toggle
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19