Programming with Qt for Python

This class is a 5-day hands-on introduction to developing desktop applications using the official set of Python bindings: Qt for Python (also known as PySide 2). Through a series of examples and labs, we will cover GUI programming, GraphicsView, Model/View and the challenges inherent to mixing the Qt API with Python. Although we will mostly use Qt for Python, the material presented also applies to those wishing to use PyQt.

Course Availability: On-site, Open Enrollment
Subject: Qt
Duration: 5 days

Course Prerequisites

  • Working knowledge of Python
  • Basic knowledge of GUI programming
  • No previous Qt experience necessary

Course Outline

Short Overview of Qt

  • What is Qt for Python?
  • The Story of Qt for Python
  • Qt Licensing and Modules
  • Hello World in Qt for Python
  •  Object-oriented Programming in Python

Object Communication and the Event System

  • About QObject
  • Signal and Slots
  • Event System
  • The Qt Property System
  • Core Classes

Widgets and Dialogs

  • Designer Introduction
  • Common Widgets
  • Dialogs
  • Layout Management

Application Creation

  • Designer: Main Windows, Menus, and Actions
  • Main Windows
  • Settings
  • Resources

Model/View

  • Model/View Concept
  • Showing Simple Data
  • Custom Models
  • Proxy Models
  • Delegates

Model/View II

  • Editing Item Data
  • Data Widget Mapper
  • Custom Tree Models

Painting and Styling

  • Painting on Widgets
  • Color Handling
  • Painting Operations
  • Styling

GraphicsView

  • Using GraphicsView Classes
  • Coordinate Systems and Transformations
  • Creating Custom Items

Additional Topics

  • Drag and Drop
  • Intro to QML
  • Qt Threads
  • Networking

 

Tags:
Python
Dates Course Location Early Bird** Price Register
February 11, 2019 to February 15, 2019 Programming with Qt for Python Waltham, MA $2,495 $2,995 Register
March 04, 2019 to March 08, 2019 Programming with Qt for Python Sunnyvale, CA $2,495 $2,995 Register
May 13, 2019 to May 17, 2019 Programming with Qt for Python Waltham, MA $2,495 $2,995 Register
June 24, 2019 to June 28, 2019 Programming with Qt for Python Sunnyvale, CA $2,495 $2,995 Register
** Early bird pricing expires one month before the start date for each course.