Sundance wrote:
I would like to attach scrollbars to a custom widget, and I'm not sure how to go about it. What is the simplest/cleanest way of informing the QToolBar of the custom widget's viewport size change (when text is appended, for instance), and to sync the scrollbar with the viewport's position, both ways?
I'll go for cleanest over simplest, if it comes to a choice between the two. :)
Have a look at QScrollView: http://doc.trolltech.com/3.3/qscrollview.html
The Detailed Description section should give you the information you need for scrolling custom widgets.
Ciao, Gordon
_______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
