0
votes

First of all, I code with the help of the Qt Creator.

For a private project I want to build a Tab box with 3 pages, while each page should represent a table/listing of different attributes of objects. The objects are in a QList (Container), 1 for each page.

I just want to show/display, not to change the information.

I already created a QTabWidget object and a QWidget object for each page.

  • How can I represent the information? is there a specific class of QT I could use?
  • How do I access the single attributes of an object?

Thanks in advance

1

1 Answers

0
votes

The QList is a class for creating and managing list-based data. To render that in a model (your QTabWidget) you need to map the model using QListView.

QListView details