RE: Qt application with ROOT widgets

From: Lee, Kerry T. \(JSC-SF\)[UHCL] <kerry.t.lee_at_nasa.gov>
Date: Fri, 28 Apr 2006 14:12:53 -0500


Hi Rene,

I am asking because it is not obvious to me how to insert a ROOT object that does not inherit from QWidget. I am not sure how to go about doing it so I have not tried.

I am using Qt because I needed the QFileDialog multiple selection functionality. In the mean time I've grown to like using the Qt designer, so in my eyes the ultimate use of designer would be to have access to all the ROOT widgets as well. In the end it would give me more tools to choose from in developing my application.

Thanks
Kerry

-----Original Message-----
From: Rene Brun [mailto:Rene.Brun_at_cern.ch] Sent: Fri 4/28/2006 12:07 PM
To: Lee, Kerry T. (JSC-SF)[UHCL]
Cc: roottalk_at_pcroot.cern.ch
Subject: Re: [ROOT] Qt application with ROOT widgets  

Kerry,

  -Are you asking the question because you tried and failed?
  -What you request should work
  -Could you explain why you use Qt and not directly the ROOT GUI.
  -Do you have sometyhing in your Qt-based GUI that you cannot do
   in a simpler way with the ROOT GUI?

Rene Brun

On Fri,
28 Apr
2006, Lee, Kerry T. (JSC-SF)[UHCL] wrote:

>
> Dear Root team,
>
> I have a Qt application running on Linux with gcc3.4.4 using ROOT 5.11.02. Currently, I have and embedded TCanvas via the TQtWidget class. I am interested in using some of ROOT's widgets (particularly TGDoubleScrollBar objects) within my Qt application. According to the 5.11.02 release notes in the GSI QtRoot section this is possible, but the only example given is the use of TQRootCanvas. Is it possible to do what I want?
>
> Thanks
> Kerry
>
Received on Fri Apr 28 2006 - 21:13:07 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET