Re: [ROOT] Re: QRoot test notes

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Nov 08 2000 - 19:28:12 MET


Hi Denis, Anton,

   like I told to Denis when he announced his ROQT to make the interface
complete we should be able to register to the Qt event loop any 
event handlers for file descriptors (the keyboard is on fd stdin) 
and any sync and async timer handlers. The file descriptors should be
easy (which will make TRint work). For the timers there should also be
not too much difficulty (and anyway we can always hack it since we 
have the source of Qt).

Cheers, Fons.



On Wed, Nov 08, 2000 at 01:34:58PM +0100, Denis Bertini wrote:
> 
> 
> Hi Anton, 
> 
>   To be honnest with you, for the moment i do not have time 
>   to do  very much arround the QtRoot stuff (beam time in Hades starts
>   tomorrow !)
>   Some comments:
>   
> > 
> > I am playing with qtroot and :
> > 
> > 1. I've tried to change TApplication to TRint in
> > qrootapplication. This doesn't work properly, i.e.
> > I can not get CINT prompt in terminal window and
> > make any input, etc.
>  
>   Well, for the moment i only forward X11 events to 
>   the QRootCanvas, this means that the only supported 
>   use is to embedd a canvas in a Qt windows. 
>   If you are interested to have this feature 
>   supported, i can give it a try but may it would be nice 
>   if Fons could comment on the amount of effort needed
>   (what need to be done ect..)  in order to implement this correctly. 
> > 
> > 2. I've tried to create a canvas in a qt widget,
> > namely in QTabWidget.
> > 
> >   QTabWidget *Tab = new QTabWidget(this, "Tab");
> >   QRootCanvas *Canvas = new QRootCanvas(this, "Canvas");
> >   Tab->addTab(Canvas, "Canvas");
> >   
> > and then set central widget to Tab.
> > 
> > This doesn't work showing a "transparent" tab. 
> > 
> > Could you check this? These two issues are very important and
> > I hope it is very easy to fix it!
> > 
>   Could you send me the code so that i can test it?
> 
> 
> > By the way, do you know a reason for multiple X11 root error
> > messages on main window close? I see you set "destructiveclose"
> > in the main qt window...
> > 
>   Not yet ...  this kind of error is given by the X11ErrorHanlder
>   from time to time ..
>   When i will have time i will look into it. 
>   By the way i am glad that you take the time to test all that! 
>                                                
>                                                 Denis                            
>                       

-- 
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 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET