Hi all,

I'm trying to create an "extended" QTableView that has some useful features for me : a footer row, like the header, but in the bottom ( for column summary, counter, .. ) and a "banded header" ( in top of column headers, grouping columns in logical blocks ).

I'm trying this ExtendedView header & footer to be similar in aspect to band header & footer of ExpressQuantumGrid from www.devexpress.com ( http://www.devexpress.com/Products/VCL/ExQuantumGrid/ )

I thought 2 possible solutions :

- Copy & Paste QTableView/QHeaderView QT Code & modify to achieve this behaviour ( I've been looking QT code and it seems is like putting "my parts" in a wasp's nest... ) So I discarded ( by now ) this one.

- The easiest one for me : Create a new QExtendedTableView, subclassing QWidget and putting inside a QVBoxLayout containing a fixed height QHeaderView ( top header ), the central QTableView and a QHeaderView ( Footer ). Models are not a problem, I've solved this part yet ( the 3 widgets show correctly their own data )

But band header & footer ignore my atempts to move them as if they were part of the grid. I've tried some "hacks" but I've the following problems :

- Header/Footer does'nt follow my model SizeHints ( all columns in header & footer are allways shown with their default width ). Anyway, the models take column info from the same source of the grid, so MUST have the same sizes.

- How do i make scroll those header/footer at the same time the TableView scrolls ?

- How can I handle the propagation of grid's column resizing to band header & footer. And of course, band resizing must affect table header & footer...

Anybody can give me orientation ?