[PyKDE] Custom QScrollBar'ed widgets

2004-09-02 Thread Sundance
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 pos

Re: [PyKDE] Custom QScrollBar'ed widgets

2004-09-02 Thread Gordon Tyler
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

Re: [PyKDE] Custom QScrollBar'ed widgets

2004-09-03 Thread Sundance
I heard Gordon Tyler said: > 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. Thank you, but this won't do. I'd need to attach the scrollbar to a custom widget

Re: [PyKDE] Custom QScrollBar'ed widgets

2004-09-03 Thread Gordon Tyler
Sundance wrote: Thank you, but this won't do. I'd need to attach the scrollbar to a custom widget, *not all* of which will scroll, hence making QScrollView useless for this case. Basically, instead of a viewport, the widget would have a QVBox containing several subwidgets, the actual viewport b

Re: [PyKDE] Custom QScrollBar'ed widgets

2004-09-03 Thread Sundance
I heard Gordon Tyler said: > So these other subwidgets stay still while this one other widget > needs to scroll? I feel cross-eyed already ;) Yes. I'm trying to see how cleanly I could implement that nifty feature in KMuddy, split-screen on scrollback, that splits the viewport when the users sc