Sviluppo con PyQt

Abstract

This tutorial gives an introduction to PyQt, showing how it's possible to use it to exploit all Qt framework features from Python, including rapid GUI development with Designer.

Some arguments that will be discussed:

  • Signal and Slot - Qt technique used to ease object-to-object communication;
  • Qt Designer - visually drawing an UI and using it from within Python code: advantages and disadvantages compared to writing UI code by hand;
  • Creating custom widgets;
  • Customizing widgets using QStyleSheet;
  • QPainter as drawing layer on several backends: X11/GDI but OpenGL too, PDF, etc...;
  • Unicode handling and i18n support;
  • QWidget - Qt widgets hierarchy;
  • QSettings - saving one application's settings.

Video