You definatly want the Model-View classes. You will implement the following:
QAbstractItemModel which will interface with your own data structures. This will contain only data. If you need only lightweight data then the QStandarditemModel might just work. That has internal data stuctures to hold data.
QAbstractItemDelegate. This is where you can define drawing and editing for each cell
The above is analagous to the old TableItem where data, drawing and editing were stuffed into one class.
You will use
QTableView
QItemSelectionModel for handle selections.
--Justin
Bookmarks