PDA

View Full Version : QTableWidget Display Issues



IVTdeveloper
10th March 2008, 20:21
I'm using Qt 4.3.3 on Windows.

Our application is using a QTableWidget with multiple rows and columns.

We use the hideRow() slot to hide several rows in the widget.

The user then does some sorting on specified column.

At this point the widget's display becomes corrupted.

We can fix the display by turning all the hidden rows back on.

Is there something special that has to be done when using the QTableWidget and hideRow() with sorting enabled?

Thanks,

wysota
10th March 2008, 21:04
Define "corupted"... A screenshot maybe?

IVTdeveloper
11th March 2008, 20:33
TrollTech has informed me that this is a known bug and will be fixed in Qt 4.4.0.

They suggested to try using QSortFilterProxyModel to do the sorting and filtering and that might work.