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.
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.
Veda
Qt Code:
// scrollView->contentsWidth(); scrollArea->widget()->width();To copy to clipboard, switch view to plain text mode
Qt Code:
// scrollView->visibleWidth(); scrollArea->viewport()->width();To copy to clipboard, switch view to plain text mode
J-P Nurmi
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.
Veda
Bookmarks