Hi Christian, I perfectly know what you mean concerning the look or themability of the GUI. Of course all DoRedraw() methods of the TG widgets could be implemented in such a way that they can draw in whatever style you want. This is "cool" but I don't want to put effort in it myself. To do it is not too difficult. You would have in every DoDraw() to check if a lib with alternative drawing functions has been loaded, if so use that function (via func ptr) instead of default code. Depending on which lib you load you get a different style. Drag and dropping is more important. DND between objects in the ROOT GUI and Canvas that is not too difficult to do (like in TTreeViewer is done). Between konqueror or nautilus and ROOT should also not be to difficult, for this there are some X11 based libraries developed independent from qt/kde or gtk. To be done. Volunteers? Cheers, Fons. Christian Holm Christensen wrote: > > Hi Fons et al, > > On Tue, 23 Oct 2001 15:33:10 +0200 > Fons Rademakers <Fons.Rademakers@cern.ch> wrote > concerning "Re: [ROOT] Qt ROOT": > > Except for TWinGui this really would be redundant. It is by now quite > > easy to embed a ROOT canvas in any other X11 based toolkit and TVirtualX > > is so low level that the layers through TQt and TKDE would in the end > > call exactly the some XDrawLine() and the look would stay the same. > > For the canvas, I have little doubt it's ok, but what about buttons > and such? > > Suppose I wanted a application with a toolbar, and I'd really like it > to look like the rest of the desktop (using KDE/GNOME/ladida), could I > do that using TGButton and TGHorizontalFrame? That's really what I'm > talking about. > > I don't want to use Gnome::ToolBar or what similar, but rather I'd > like to use the ROOT abstraction layer instead, connecting signals to > slots (or is it vice-versa) as I'd normally do in ROOT. > > Also, what about a partitioned canvas, so that I could drag'n'drop > elements from one side of the canvas to the other to for example > create a tree of analysis code? > > And suppose you want to drag a ROOT file from Nautilus onto the ROOT > browser to open it? Or a script from Konqurer onto the ROOT browser to > run it? Or a file from the browser onto the dustbin to delete it? > And all this independent of the underlying GUI layer. > > I realise that drawing for example histograms would probably not > change much, but the GUI would. > > Again, I realise it's not at all a small task, since it requires loads > of abstrations of very different schemes (Qt, Gdk, Win32, MacOS, > AtheOS and so on), but the end result should be really good. > > Yours, > > Christian Holm Christensen ------------------------------------------- > Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 > DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 > Denmark Office: (+45) 353 25 305 > Email: cholm@nbi.dk Web: www.nbi.dk/~cholm -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET