PyQt6 has two APIs for building GUIs. We've already introduced the Qt Widgets API which is well-suited for building desktop applications. Qt also provides a declarative API in the form of Qt Quick/QML. Qt Quick is well suited for building modern touchscreen interfaces for microcontrollers or device interfaces.

Explore QML/QtQuick applications with PyQt6

QML/QtQuick applications with PyQt6

Animations and Transformations With QtQuick in PyQt6

Building an animated analog clock in QML with rotations and spring animations

Create Applications with QtQuick in PyQt6

Build modern applications with declarative QML