All Qt for Python Examples

A varied selection of examples can be found in the ‘examples’ directory of the pyside-setup repository. This can be accessed after installing PySide6 via pip, checking the ‘site-packages/PySide6/examples’ directory.

This page aims to document the most important use cases of the module and it will be extended with each release.

PySide6.QtWidgets - Classwizard Example

Demonstrates the use of QDialog in a wizard application

PySide6.QtWidgets - Star Delegate Example

Demonstrates Qt’s itemview architecture