Showing articles for All (494) PyQt6 (163) PySide6 (53) PyQt5 (100) Streamlit (2) Tkinter (13) PySide2 (41) Kivy (4)

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

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

First Steps With Qt Designer and PySide2

Use Qt Designer's drag and drop interface to design your PySide2 GUI

Implementing QPainter Flood Fill in PyQt5/PySide

Filling irregular regions in a QPainter canvas with Python

Packaging PyQt5 applications for Windows with PyInstaller & InstallForge

Turn your PyQt5 application into a distributable installer for Windows

Packaging PyQt5 applications for Linux with PyInstaller & fpm

Turn your PyQt5 application into installable Linux packages

Create Radiobuttons and Checkbuttons in Tkinter

Add selectable button widgets to your Tkinter GUI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20