Viking Software

QObjectListModel

The QObjectListModel class provides a model that supplies objects to QML views. When using subclasses of QObjectListModelT, one can even achieve static type checking on the C++ side.

QObjectListModel provides a more powerful, but still easy to use, alternative to using QList<qobject*> lists as models for QML views. As a QAbstractListModel, it has the ability to automatically notify the view of specific changes to the list, such as adding or removing items. At the same time it provides QList-like convenience functions such as append, at, and removeAt for easily working with the model from C++. Even using iterator based operations (range based for loop, algorithm) are fully functional.

 

By clicking button above, I agree Marketplace user terms and conditions

Details
Version:
1.0
Publisher:
Viking Software
Contact:
qtmarket@vikingsoftware.com
License:
BSD
Created at:
2020-05-17
Platforms:
Windows
macOS
Linux
Android
iOS
Supported Qt versions:
any
Support:
qtmarket@vikingsoftware.com
Bug URL:
https://gitlab.com/vikingsoftware/QObjectListModel/-/issues
Source repository:
https://gitlab.com/vikingsoftware/QObjectListModel