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

QTableView Align Currency Column Right with QStyledItemDelegate

Use Qt.TextAlignmentRole in your model's data() method to align columns in a QTableView

Drag & Drop TreeView Nodes to Reorder Items with a Custom Tree Model in PyQt6

Implement drag and drop reordering in QTreeView using a custom QAbstractItemModel

How to Drag & Drop SVG Elements into a QGraphicsScene

Dragging and dropping SVG elements into a QGraphicsScene using QGraphicsSvgItem

Change color in QProgressBar delegate

How to dynamically change QProgressBar colors in a QTableView delegate

Custom style for menu items

How to use QWidgetAction to create menu items with custom background colors in PyQt6

Making Drawn Text Clickable and Editable on a QPixmap in PySide6

How to interact with text and other elements drawn onto a pixmap using QPainter

Create a Settings window

Build a settings dialog with QDialog, QGroupBox, QRadioButton and QSettings in PyQt and PySide

QSqlRelationalTableModel issue updating a row

Fixing column aliasing problems when editing rows with QSqlRelationalTableModel

How to Get the PyQt6 Version Number?

Find out which version of PyQt6 you're running

How to Get the PySide6 Version Number?

Find out which version of PySide6 you're running

What modules are missing from PySide6 & PyQt6?

The Qt extension modules not yet available in Qt 6.1

PySide6 Book now available: Create GUI Applications with Python & Qt6

The hands-on guide to building desktop apps with Python and Qt6

PyQt6 vs PySide6

What's the difference between the two Python Qt libraries? ...and what's exactly the same (most of it)

How to run parallel process along with QProcess thread

Running background processes and file watching simultaneously in PyQt6 without blocking the GUI

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 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

The ModelView Architecture in PySide6

Qt's MVC-like interface for displaying data in views

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
1 2 3 4 5 6 7 8 9 10 11