Re: [ROOT] ROOT & Qt, Swing, GUIs, Graphics Abstraction

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 30 2001 - 16:04:44 MET


Hi Yuriy,

If you really want to implement a TGQt implementation of TVirtualX
and strictly conforment to TVirtualX, this would not be reinventing the wheel,
but a very useful exercise if you succeed. This will effectively allow
any Qt based interface to also use the Root canvases, etc.
The standard TBrowser, TTreeViewer, etc should also work.
So, you would get the best of both worlds.

TGQt will be at the same level as the current TGX11.
Users will have the choice without changing their application.

Keep us informed of your progress.

So, Do I understand correctly that in a few weeks from now, we will have
 - a TGQt implementation of TVirtualX by you
 - a TGDk implementation of TVirtualX by Brett Viren ?

Rene Brun



Yuriy wrote:
> 
> Dear Rene and ROOTers,
> 
> I am very sorry about I started this QtROOT flame war. But it looks
> like that this topic is very interesting for many people.
> 
> The main result for me I found out of this talking is: there is no
> open and ready to use interface form ROOT to Qt. Actually you and some
> other people are talking that architecture of GUI and graphic classes
> is not modern and it should be changed. It is a fact, that X11
> interface is not very good if you are going to work with computer over
> thousands kilometers, but it is OK for local network or inside
> intranet between labs that situated close to each other.
> 
> So I thing the only solution for me will be to develop TXQt class my
> self in goal to have possibility to run my application on Unix an
> Windows as well. It would be OK for me if this class will be TVirtualX
> child and all calls of gVirtualX will go through TXQt and after this
> to Qt. So I could draw histograms inside Qt GUI windows and in the
> same time I could use all power of the ROOT analysis classes.
> 
> Perhaps this is rather naive point of view and it might looks like
> reinventing the wheel one more time. But the problem is, as I wrote
> before, that there is no working code I could use. OK there is Go4
> project, but the question is: is it open source? Could I use and
> modify this for my own needs? I mean not in one or two months I mean
> now. I just hope to try to do this and if somebody is interested I
> could provide you with my code any time.
> 
> Best regards,
> Yuriy Prokazov.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET