Tutorials#

A collection of tutorials with walkthrough guides are provided with Qt for Python to help new users get started.

Some of these documents were ported from C++ to Python and cover a range of topics, from basic use of widgets to step-by-step tutorials that show how an application is put together.

Qt Widgets: Basic tutorials#

If you want to see the available widgets in action, you can check the Qt Widget Gallery to learn their names and how they look like.

Basic Widget

Your first QtWidgets Application

Basic Button

Using a Simple Button

Basic Connections

Signals and Slots

Basic Dialog

Creating a Dialog Application

Basic Table

Displaying Data Using a Table Widget

Basic Tree

Displaying Data Using a Tree Widget

Basic ui files

Using .ui files from Designer or QtCreator with QUiLoader and pyside6-uic

Basic qrc files

Using .qrc Files (pyside6-rcc)

Basic Translations

Translating Applications

Basic Widget Style

Styling the Widgets Application

Quick/QML: Basic tutorials#

Basic Quick

Your First QtQuick/QML Application

Basic QML Integration

Python-QML integration

QML Application

QML Application Tutorial (QtCreator)

Advanced QML Integration

QML, SQL and PySide Integration Tutorial

Extended Explorer

Extending an Qt Quick Controls example

General Applications#

Data Visualization

Data Visualization Tool

Expenses Application

Expenses administration tool

Qt Overviews#

C++ and Python#

Debug a PySide6 Application#