PDA

View Full Version : QT4 : how to hide all verticalHeaderItem's of QTableWidget?



krivenok
4th February 2006, 18:49
How to hide all verticalHeaderItem's of QTableWidget?

wysota
4th February 2006, 19:49
Try this:

QTableWidget *mywidget; // assuming your widget here
mywidget->verticalHeader()->hide();

If it doesn't work, try iterating over all verticalHeaderItem's and delete them.