January 2019
Intermediate to advanced
384 pages
11h 50m
English
When we are displaying a collection of objects, we have to set of classes: the convenience classes of QListWidget, QTableWidget, and QTreeWidget; and the model/view based classes of QListView, QTableView, and QTreeView.
QTableWidget and so on are convenience classes; if we need fast updates, it is better to use a QTableView, and its cousins, QListView, and QTreeView. In this case, you will have to write a model class containing data to be shown in the corresponding view class. However, there are limits to model/view classes as well. As a rule of thumb, we could use the following gradation:
Read now
Unlock full access