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

Your First QtWidgets Application
Basic Button

Using a Simple Button

Using a Simple Button
Basic Connections

Signals and Slots

Signals and Slots
Basic Dialog

Creating a Dialog Application

Creating a Dialog Application
Basic Table

Displaying Data Using a Table Widget

Displaying Data Using a Table Widget
Basic Tree

Displaying Data Using a Tree Widget

Displaying Data Using a Tree Widget
Basic ui files

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

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

Using .qrc Files (pyside6-rcc)

Using .qrc Files (pyside6-rcc)
Basic Translations

Translating Applications

Translating Applications
Basic Widget Style

Styling the Widgets Application

Styling the Widgets Application

Quick/QML: Basic tutorials

Basic Quick

Your First QtQuick/QML Application

Your First QtQuick/QML Application
Basic QML Integration

Python-QML integration

Python-QML integration
QML Application

QML Application Tutorial (QtCreator)

QML Application Tutorial
Advanced QML Integration

QML, SQL and PySide Integration Tutorial

QML, SQL and PySide Integration Tutorial
Extended Explorer

Extending an Qt Quick Controls example

Extending the file system explorer example

General Applications

Data Visualization

Data Visualization Tool

Data Visualization Tool Tutorial
Expenses Application

Expenses administration tool

Expenses Tool Tutorial

Qt Overviews

C++ and Python

Debug a PySide6 Application