ModelViews and Databases
Connecting your PySide 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 PySide6 tutorial we'll discover how you can use Qt ModelViews to build high performance Python GUIs.

Start with “The ModelView Architecture”

The ModelView Architecture

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

Displaying tabular data in Qt ModelViews

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

Start now