Skip to content

PySide6 By Example

The goal of this document is to show how to develop simple and practical GUI applications using Python and Qt using PySide6 library. Emphasis is on practical. Many of the examples on the web are either way too simple or too complex and thus are not practical. But what is practical? That will vary depending on the problem at hand, however, there are a few motifs that seem to repeat from one place to another. These are:

  1. Searching and displaying tabular data.
  2. Transforming data.
  3. Visualization of numerical data.
  4. Configuring and executing complex processes.

All of the above does not technically require use of graphical applications, however, target audience could be accountants, electrical or mechanical engineers, managers and so on. For them having an intuitive GUI for these tasks is essential.

In this project we will build several GUI applications. You can use them as templates for your own projects. All code here is under MIT license, which means that you are free to copy and incorporate any part the code into your projects.

My goal here is not to build a clever code, but code that is easy to modify and extend.