PDA

View Full Version : QTableWidget



alexx
26th January 2007, 14:07
Ave !!

How to obtain a QTW with height exactly sufficient to

- show all the rows (no scrollbar), even if rowcount modified
&&
- show only these rows (no empty space below)

Thanks !!!!!

(sizepolicy, layout... are ugly for who reads well american: for me ((( *** .... !!! ???)

jpn
4th February 2007, 23:00
Maybe QHeaderView::length() or QHeaderView::sizeHint() helps you? You can access the headers through QTableView::horizontalHeader() and QTableView::verticalHeader().