PDA

View Full Version : QScrollArea



jimfan
29th February 2008, 07:31
Hi All,

I am just wondering for QScrollArea, is there any way to find out what's the actual portion of the widget that's displayed in the scrollArea? For example, setting widget A into QScrollArea, and scroll the content using scroll bar, is there anyway to know what's the top and bottom of the widget that's fit into the scroll area?

Thanks!

jpn
29th February 2008, 07:35
A wild guess, QWidget::visibleRegion(). :)

jimfan
29th February 2008, 07:57
awesome, thanks!