[[ activeDiscount.description ]] I'm giving a [[ activeDiscount.discount ]]% discount on my books with the code [[ couponCode ]].

The Qt6 editions of my books are now available, supporting Python 3 with PyQt6 and PySide6.

ModelViews and Databases
Connecting your application to data sources

All but the simplest of apps will usually need to interact with some kind of external data store — whether that's a database, a remote API or simple configuration data. The Qt ModelView architecture simplifies the linking and updating your UI with data in custom formats or from external sources. In this PyQt5 tutorial we'll discover how you can use Qt ModelViews to build high performance Python GUIs.

Start with “The ModelView Architecture”

ModelViews and Databases

The ModelView Architecture

Qt's MVC-like interface for displaying data in views

Displaying tabular data in Qt5 ModelViews

Create customized table views with conditional formatting, numpy and pandas data sources.

Start now