Qt 5.11 | Qt SQL | Query Model Example

Qt 5.11.3 Reference Documentation

# Query Model Example

The Query Model example shows how to make customized versions of data obtained from a SQL query, using a model that encapsulates the query and table views to display the results.

Files:

- querymodel/customsqlmodel.cpp
- querymodel/customsqlmodel.h
- querymodel/editablesqlmodel.cpp
- querymodel/editablesqlmodel.h
- querymodel/main.cpp
- querymodel/querymodel.pro