This is the repo for the C++ Models and Views course on Qt Academy.
The files provided are the demo apps created during the course. They provide a reference for the workflows covered in the course section.
To get started with this project, you will need to have Qt installed from the qt.io website. We Recommend using the QtCreator IDE in order to follow along with the content in the videos.
CppModelsViews_Section2: Example to demonstrate how to build a QAbstractListModel in C++ which works with a QML ListView. Tested with with Qt 6.8.0 MinGW 64-bit.
CppModelsViews_Section3: Example to demonstrate how to build a QAbstractTableModel in C++ which works with a QML TableView. Tested with with Qt 6.8.0 MinGW 64-bit.
CppModelsViews_Section4: Example to demonstrate how to build a QAbstractItemModel in C++ which works with a QML TreeView. Tested with with Qt 6.8.0 MinGW 64-bit.
CppModelsViews_Section5: Example to demonstrate how to build a QSortFilterProxyModel and QIdentityProxyModel in C++ which which can perform sorting, filtering, and data modification in a QML ListView. Tested with with Qt 6.8.0 MinGW 64-bit.
CppModelsViews_Section6: Example to demonstrate how to build a QTransposeProxyModel in C++ which which can transpose a QML TableView. Tested with with Qt 6.8.0 MinGW 64-bit.
If you need additional help, the following resources may be helpful:
- Qt Documentation: https://doc.qt.io
- Qt Forum: https://forum.qt.io
- Qt Academy: https://qt.io/academy