[PyKDE] Custom QScrollBar'ed widgets

Sundance sundance at ierne.eu.org
Fri Sep 3 03:03:03 BST 2004


Greetings,

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. :)

-- S.




More information about the PyQt mailing list