RE: Re[4]: [ROOT] Qt ROOT

From: Al-Turany Dr. Mohammad (M.Al-Turany@gsi.de)
Date: Tue Oct 23 2001 - 09:03:29 MEST


Hallo Yuriy,

The approach we used for solving this problem (Qt-Root) was completely
described at the ROOT 2001 workshop by Denis Bertini
(http://www-root.fnal.gov/root2001/presentations/session3/Qtroot_finalend.pp
t). A more recent documentation is on the Go4 web page
(http://www-linux.gsi.de/~go4/qtroot/doc/html/hierarchy.html) where you can
find a complete description of the whole interface. Anyway we can also send
you a tar file containing the interface and two examples. 



regards 

Mohammad



> -----Original Message-----
> From: Yuriy [mailto:yuriypro@mail.ru]
> Sent: Monday, October 22, 2001 6:10 PM
> To: roottalk@pcroot.cern.ch
> Subject: Re[4]: [ROOT] Qt ROOT
> 
> 
> Valeri,
> no, I use begin() and end() calls of the QPainter library like this:
> 
> void MyWidget::paintEvent( QPaintEvent *e )
> {
>   if(fCanvas)
>   {
>     QPainter p;
>     p.begin( this);
>     fCanvas->Resize();
>     fCanvas->Update();
>     fCanvas->Flush();
>     p.end();
>   }
> }
> 
> I am not sure that doing like this is quite correct. How did you
> solved the problem of using Qt with ROOT. There is some interesting
> page about using Qt ROOT,
> http://www-hades.gsi.de/~dbertini/qtroot.html but there is the only
> TCanvas object was used. I have not tested the possibility of creating
> 2 or more canvases with that approach. Do you know the better way to
> use Qt widgets with TCanvas inside? If you know how to implement this
> the better way could you provide me with some information?
> 
> -- 
> Best regards,
> Yuriy
> mailto:yuriypro@mail.ru
> 
> 
> VF> Yura,
> VF> does this mean you  use TGX11 class to draw onto TCanvas 
> / TPads with no
> VF> Qt QPainter involved ?
> 
> VF>    Valeri
> 
> VF> -----
> VF> Dr.Valeri Fine
> VF> STAR/US Atlas                                    E-mail: 
> fine@bnl.gov
> VF> Brookhaven National Lab                Phone: +1 631 344 7806
> VF> Upton, NY 11973-5000                       FAX:     +1 
> 631 344 4206
> VF> USA
> 
> 
> 
> VF> ----- Original Message -----
> VF> From: "Yuriy" <yuriypro@mail.ru>
> VF> To: "Al-Turany Dr. Mohammad" <M.Al-Turany@gsi.de>
> VF> Cc: <roottalk@pcroot.cern.ch>
> VF> Sent: Monday, October 22, 2001 5:13 AM
> VF> Subject: Re[2]: [ROOT] Qt ROOT
> 
> 
> >> Dear Dr. Mohammad Al-Turany,
> >>
> >> thank you for your letter. I have seen Go4 web site before and I
> >> thought that the work was stopped. I am glad to hear that 
> it is still
> >> in progress. Is it possible to download somewhere you 
> library source
> >> code for testing? Have you solved problems I faced?
> >>
> >> Best regards,
> >> Yuriy Prokazov.
> >>
> >>
> >> ATDM> At the GSI we are involved in the Qt-ROOT 
> interfacing since one year, a full
> >> ATDM> functional interface is being developed and will be 
> released very soon (Nov.
> >> ATDM> 2001). This interface supports the full 
> functionality of both ROOT and Qt.
> >> ATDM> It is being heavily tested even with ROOT threads 
> (Go4 Project
> >> ATDM> "http:\\go4.gsi.de"). Some of the available 
> functionalities are:
> >>
> >> ATDM>         1. No changes in Root or Qt are necessary to 
> use this interface.
> >> ATDM>         2. Full Root canvas functionality embedded 
> in a QWidget
> >> ATDM>         3. Root Canvas can be integrated into a 
> QWidget in the same manner
> >> ATDM> as any native QWidget
> >> ATDM>         4. Drag and Drop support for canvas and pads
> >> ATDM>         5. Open Inventor integration is supported
> >> ATDM>         6. Can be used in parallel to the ROOT 
> native GUI (TGxx classes)
> >> ATDM>         7. QRootCanvas can be added to the 
> Qt-Designer as a custom widget
> >> ATDM>         (QRootCanvas plugin is being developed to 
> automate the integration
> >> ATDM> and to support the whole                        
> functionality of the Canvas
> >> ATDM> within the Qt designer)
> >> ATDM>         8. The interface is tested and it works with 
> ROOT >= 3.0 and Qt >=
> >> ATDM> 2.3.0
> >>
> >>
> >> ATDM> If anybody is interested in this interface please 
> contact the author Denis
> >> ATDM> Bertini (dbertini@gsi.de) or me.
> >>
> >>
> >> ATDM> Regards,
> >> ATDM> Mohammad Al-Turany
> >>
> >>
> >> ATDM> ##########################################################
> >> ATDM> Dr. Mohammad Al-Turany
> >> ATDM> Experiment Data Processing (DV & EE)
> >> ATDM> Gesellschaft für Schwerionenforschung (GSI)
> >> ATDM> Planckstr. 1
> >> ATDM> D-64291 Darmstadt, Germany
> >> ATDM> Tel: +49-6159-71-2554
> >> ATDM> Fax: +49-6159-71-2986
> >> ATDM> E-Mail: m.al-turany@gsi.de
> >> ATDM> http://www.gsi.de/groups/rz/persons/al-turany.html
> >> ATDM> ##########################################################
> >>
> 



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