• Wiki
  • Documentation
  • Forum
  • Bug Reports
  • Code Review

Qt Documentation

  • Qt for Python 5.14.2.1
  • Qt for Python Documentation

Table of Contents

  • Qt for Python Tutorials
    • Basic tutorials
    • Real use-cases applications
    • C++ and Python

Previous topic

Qt for Python Modules

Next topic

Your First QtWidgets Application

Quick search

Qt for Python Tutorials¶

A collection of tutorials with “walkthrough” guides are provided with Qt for Python to help new users get started. 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.

Basic tutorials¶

  • Your First QtWidgets Application
  • Your First Application Using PySide2 and QtQuick/QML
  • A Simple Button Tutorial
  • Creating a Simple PySide2 Dialog Application
    • Create the Widgets
    • Create a layout to organize the Widgets
    • Create the function to greet and connect the Button
    • Complete code
  • Using UI Files
    • Generating a Python class
    • Loading it directly

Real use-cases applications¶

  • Data Visualization Tool Tutorial
    • Chapter 1 - Reading data from a CSV
    • Chapter 2 - Filtering data
    • Chapter 3 - Create an empty QMainWindow
    • Chapter 4 - Add a QTableView
    • Chapter 5 - Add a chart view
    • Chapter 6 - Plot the data in the ChartView
  • Expenses Tool Tutorial
    • Empty window
    • Menu bar
    • First signal/slot connection
    • Empty widget and data
    • Window layout
    • Right side layout
    • Adding elements
    • Verification step
    • Empty chart view
    • Full application
  • QML Application Tutorial
    • Related information
  • QML Integration Tutorial
  • QML, SQL and PySide Integration Tutorial
    • sqlDialog.py
    • chat.qml
    • main.py

C++ and Python¶

  • Porting a C++ Application to Python
    • Basic differences
    • Porting a Qt C++ example

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.