Latest articles

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

How to Set Row Background Colors in a QTableView

Use Qt's BackgroundRole to color entire rows based on your data

Understanding setCurrentIndex() and Getting File Paths from QTreeView Selections

Why setCurrentIndex() returns None and how to properly work with selected indexes

Why treeView.selectedIndexes() Returns Duplicate Items in PyQt6

Understanding multi-column selections in QTreeView and how to handle them

Overriding acceptNavigationRequest in QWebEnginePage

Intercept link clicks in QWebEngineView and handle navigation yourself

Sorting & filtering Qt Model Views

Using QSortFilterProxyModel to filter and sort data in PyQt5

Sorting & filtering Qt Model Views

Using QSortFilterProxyModel to filter and sort data in PyQt6

QTableWidget for List of Dict

Display Python dictionaries in a Qt table using QAbstractTableModel

What happens after defining `app`, but before executing it?

Understanding the relationship between QApplication, widgets, and the event loop in PyQt6

Python PDF Report Generator

Generate custom PDF reports using reportlab & pdfrw with a PyQt/PySide GUI

Opening New Windows from Qt Designer Files in PyQt6

How to properly use Qt Designer generated UI files and open new windows with button clicks

CSS Selector for widget Class

How to use Qt property selectors in stylesheets to target widgets by custom class

When will there be a new version of Creating GUI Applications for PyQt6 and PySide6?

Key migration changes from PyQt5/PySide2 to PyQt6/PySide6 and the updated book editions

Transparent TextBrowser

Creating a fading text effect in a QListView using custom model formatting

How to Populate a QComboBox from a CSV File in Python

Load data from CSV files and use it to fill QComboBox dropdown lists in your PyQt or PySide applications

How to Create a Filter/Search Bar for a QTableWidget in PyQt5

Use QSortFilterProxyModel to add live filtering to your tables

Running Custom Functions in Background Threads with QThreadPool and QRunnable in PyQt6

How to run user-defined functions with arguments using QThreadPool and QRunnable in PyQt6

Displaying Tabular Data in PyQt6 ModelViews

Create customized table views with conditional formatting, numpy and pandas data sources.

Displaying Tabular Data in PySide2 ModelViews

Create customized table views with conditional formatting, numpy and pandas data sources.

How to Add Widgets After Loading a Qt Designer .ui File

Access layouts and add widgets programmatically to your Qt Designer interfaces

Creating Searchable Widget Dashboards in PyQt6

Make dashboard UIs easier to use with widget search & text prediction

How to get/set the position of the scroll area?

Preserve scroll position and cursor location when updating text in QTextEdit

PyQt Windows Won't Reopen in Spyder — How to Fix It

Why your PyQt app only runs once in Spyder, and what you can do about it

HTML, CSS and JS in a Desktop App... Qt WebEngine vs. Electron vs.?

Comparing approaches to building desktop apps with web technologies and Python

Install PyQt6 on Windows

Install PyQt6 on Windows 8, 10 & 11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21