Working with item view widgets

Other than displaying data using different types of chart, we can also display this data using different types of item view. An item view widget presents data by rendering it visually, usually along the vertical axis.

A two-dimensional item view, often known as a table view, displays data in both vertical and horizontal directions. That allows it to display huge volumes of data within a compact space, and enables the users to search for an item very quickly and easily.

There are two ways to display data in an item view. The most common method is to use the model-view architecture, which uses three different components, model, view, and delegate, to retrieve data from a data source and display it in the item ...

Get Hands-On GUI Programming with C++ and Qt5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.