a QToolBox is like a QTabWidget, but the tabs are 'above each other'.
See the Qt widget gallery for an example.

This looks like a QTreeView to me.
Probably the header items are painted differently with a custom delegate.