Re: [ROOT] Qt ROOT

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Oct 23 2001 - 15:33:10 MEST


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.

Cheers, Fons.



Christian Holm Christensen wrote:
> 
> Hi Rene et al,
> 
> On Tue, 23 Oct 2001 09:05:03 +0000
> Rene Brun <Rene.Brun@cern.ch> wrote
> concerning "Re: [ROOT] Qt ROOT":
> > Hi Yuriy, Valery,
> >
> > You seem to reinvent the wheel. As pointed out several times by
> > Denis Bertini and Mohammad al-Turany, Qt can be used with Root in
> > all possible combinations.
> 
> All though it may seem like reinventing the wheel, and without knowing
> a lot about it, I think ROOT would benefiet from being able to use
> various graphics abstraction layers like GNOME and Qt, and I think
> that was what Valery was suggesting and working on (but I may be
> wrong).  So that you'd have something like
> 
>   +-------------+                      +------+        +--------+
>   | TVirtualX   |<---------+-----------| TGdk |<-------| TGnome |
>   +-------------+          |           +------+        +--------+
>   | MakeButton  |          |
>   | MakeCanvas  |          |           +-----+         +------+
>   | MakeTree    |          +-----------| TQt |<--------| TKDE |
>   | MakeListBox |          |           +-----+         +------+
>   | MakeFrame   |          |
>   | ...         |          |           +----------+
>   +-------------+          +-----------| TPureX11 |
>            |               |           +----------+
>            |               |
>            |               |           +---------+
>            |               +-----------| TWinGui |
>            |                           +---------+
>            |
>        +---+----------+-------------+
>        |              |             |
>   +----o-----+  +-----o----+  +-----o------+
>   | TGCanvas |  | TGButton |  | TGListView |  ...
>   +----------+  +----------+  +------------+
> 
> (sorry about the messy almost-UML)
> 
> This would allow user of ROOT to have the same look-and-fell to ROOT
> GUI applications, as thier regular Desktop.  That is, if you set the
> default font for buttons to be Helvetica Bold 12pt in the desktop
> configurator (like Kontrolcenter, Gnome Control Center, etc.), then
> ROOT based GUIs will respect that choice.   Further, integration of
> stuff like drag'n'drop, ladida, should be easier.
> 
> Again, it's a pretty hard thing to do (at least it will take some
> time), but it'd be a really nice thing.
> 
> If I'm far behind, and this really what is being done at the moment,
> I'm sorry I missed out on that.
> 
> 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:03 MET