Hello All,,
I am porting Q3scrollview to QScrollArea...
There are few methods in Q3scrollview contentsWidth(), visibleWidth() in Qt3,
where as these methods are removed in Qt4... How to get the same in Qt4.
Printable View
Hello All,,
I am porting Q3scrollview to QScrollArea...
There are few methods in Q3scrollview contentsWidth(), visibleWidth() in Qt3,
where as these methods are removed in Qt4... How to get the same in Qt4.
Code:
// scrollView->contentsWidth(); scrollArea->widget()->width();
Code:
// scrollView->visibleWidth(); scrollArea->viewport()->width();
Thanks JPN,,
I need to scroll my scrollbar from one point to other as my cursor jump from one
text edit to other
In Qt3 I have used setContentsPos whats the alternative in Qt4 ,
and also for resizeContents.