Hi,
I think that you don't have to extend the QTreeView class because it is already providing all you need.
On the QTreeView you can set the related delegates objects for the display (I can name "custom display") and editing the data.
In order to implement the "Excel" editing, you have to implement a custom Model that will be the storage and manager for your specific data.
It is not a so hard work, you have just to understand the correct way to implement the Model for your specific requirements. I have already constructed an editor based on the QTreeView that is able to manage a lot of kind of data. The configuration of my "editor" is based on a SQL storage with the mapping of database column to the grid column (or a subset of grid colum) with also the management of different unit of measures for the different data type. The Delegate for the editing are also created and assigned in automatically (by the class derived from the QTreeView).
Bye
Alessandro
Bookmarks