[ROOT] Re: QRoot test notes

From: Denis Bertini (dbertini@lxg0402.gsi.de)
Date: Wed Nov 08 2000 - 13:34:58 MET


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                            
                      



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