PDA

View Full Version : Determine if row in QTableWidget is visible / QTableWidget properties



tpieciak
6th January 2011, 00:43
Hello,

I am looking for possibility to determine, how many rows in QTableWidget is visible on the screen.

or...

Aby way to change QTableWidget properties to resize my items horizontally, if part of the data is not visible. The goal is show on this screen:

http://www.win-tech.com/graphics/scanner1.gif

tbscope
6th January 2011, 04:19
Loop over the items.
Use http://doc.qt.nokia.com/4.7/qtablewidget.html#visualItemRect