RE: [ROOT] Scrolling a list

From: Faine, Valeri (fine@bnl.gov)
Date: Wed May 28 2003 - 02:24:05 MEST


Hello Christian,
Yes, I know you have no time to switch to Qt-edition :-)

Anyway my 2 cents (I am not ROOT Gui expert to help you directly)

Have a look:
QListView is derived from QScrollView 

So it should be no problem:
http://doc.trolltech.com/3.1/qlistview.html
http://doc.trolltech.com/3.1/qscrollview.html 

            Hope this helps, Valeri

> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]
> On Behalf Of cstrato
> Sent: Tuesday, May 27, 2003 5:29 PM
> To: >> Roottalk@Pcroot. Cern. Ch
> Subject: [ROOT] Scrolling a list
> 
> Dear Rooters
> 
> In my GUI I would like to add items to a scrollable list, i.e. to a
> list which adds also a horizontal scrollbar if the text of the items
> does not fit within the frame.
> Sorrowly, TGListBox does only add a vertical scrollbar, while
> TGFileContainer (and TGLVContainer?) adds only a horizontal
> scrollbar (for list layout) or a vertical scrollbar (for list
details),
> but never both scrollbars, as e.g. seen when TBrowser is resized.
> 
> Which classes do I have to use to be able to fill a scrollable list?
> 
> Thank you in advance
> Best regards
> Christian
> _._._._._._._._._._._._._._._._
> C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
> V.i.e.n.n.a       A.u.s.t.r.i.a
> _._._._._._._._._._._._._._._._



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET