Python GUI FAQ

Common Python GUI Questions, Answered

Answers to our users most frequently answered questions, from licensing, packaging and libraries, to PyQt tips and tricks.

Showing articles for All (293) PyQt6 (38) PySide6 (9) PyQt5 (136) Streamlit (0) Tkinter (1) PySide2 (12) Kivy (0)

Q&A: How to show a custom cursor on a PyQtGraph plot?

Changing the OS cursor and implementing a custom crosshair

Q&A: How to fix widgets appearing as separate windows?

Understanding Qt parents and layouts and the effect on widget position

Running Python script with QProcess after freeze

How to bundle and run external Python scripts from a frozen PyQt6 application

Q&A: How can I enable editing on a QTableView in PyQt5?

Modifying your model to allow editing of your data source

Q&A: How can I enable editing on a QTableView in PyQt6?

Modifying your model to allow editing of your data source

How to Enable Editing on a QTableView in PySide2

Modifying your QAbstractTableModel to allow in-place editing of table data

Q&A: How can I enable editing on a QTableView in PySide6?

Modifying your model to allow editing of your data source

Fixing the Drop Prohibited Icon in QTableView Drag and Drop

How to enable row reordering with drag and drop in QTableView using a custom model

Rendering Radial Gradients in in PyQt6

How to fix the "Could not parse node: radialGradient" error when rendering SVGs in PyQt6

How to refresh a QTreeView in PyQt?

Updating the displayed directory in a QTreeView with QFileSystemModel

Is it possible to access system env vars in Qt?

Reading sourced Bash environment variables from your Python Qt application

How is QMdiArea supposed to be used?

Working with QMdiArea and QMdiSubWindow in PyQt6, including how to handle subwindow closing and visibility

Editing QTableView cells

Allowing users to update the data in a model view

Matplotlib with QtQuick (QML)

Published 23.05.2021

Bluetooth Device Scanning with PyQt5 QtBluetooth

How to discover Bluetooth and Bluetooth Low Energy devices using PyQt5's QtBluetooth module
1 2 3 4 5 6 7 8 9 10 11 12