david-estevez
Tutorial PySide/PyQt4

Updated 2 years ago

Creating a PySide GUI application

In this tutorial we will learn how to create a PySide/PyQt application. For that purpose, I will make a walkthrough of the creation of a graphical interface for the PCB outline creator for KiCad. The PCB outline creator is a small tool to add PCB outlines with some given dimensions (and rounded corners) to a KiCad file. It is included in the kicad-library repository.

  1. Design the UI with QtCreator
  2. Minimal code to run the app
  3. Refactoring minimal code to use a class
  4. Configuring widgets
  5. Attaching callbacks to events
  6. Adding a file selection dialog
  7. Connecting the GUI to the backend
  8. Appendix: Useful Development Info