KDAB will be gold sponsors at QtDay Italy November 20-21st. The event is entirely focused on Qt and Qt-related technologies and has grown to be the biggest Qt event in the region. Presented below is the talk and workshop from KDAB Back to Basics: writing a model (Workshop) – Giuseppe D’Angelo Date/Time Tue Nov 17, […]
Blog Archives
Introducing KDToolBox KDAB R&D contribution of useful C++ classes
At KDAB we invest a significant amount of efforts in research and development. We are always looking for new tooling, libraries and utilities that can make our job easier and improve the C++ and Qt ecosystems. Ultimately, the gained knowledge and skills make our customers happier. As part of this process we develop lots of […]
New in Qt 5.11: improvements to the model/view APIs (part 2) Automated validity checks using QAbstractItemModelTester
In the last episode of this series we discussed QAbstractItemModel::checkIndex(). QAbstractItemModel::checkIndex() is a function added in Qt 5.11 that allows developers of model classes to perform some validity checks on the QModelIndex objects passed to the model; specifically, on the indices passed to the APIs that model classes need to implement (rowCount(), columnCount(), data, setData(), […]
New in Qt 5.11: improvements to the model/view APIs (part 1)
The Qt model/view APIs are used throughout Qt — in Qt Widgets, in Qt Quick, as well as in other non-GUI code. As I tell my students when I deliver Qt trainings: mastering the usage of model/view classes and functions is mandatory knowledge, any non-trivial Qt application is going to be data-driven, with the data […]