RE: Qt application with ROOT widgets

From: Rene Brun <>
Date: Sat, 29 Apr 2006 09:52:44 +0200 (MEST)


We are well aware that the only reason why some people are interested by Qt is the nice Qt designer. However, the experience shows that most (not to say all) GUIs designed with Qt designer are in fact pretty simple (and most of the time quite poor!). We are actively working on a ROOT GUI builder (already available in CVS version). We expect to release a stable and mature version with the next production release this summer. Our GUI builder has several advantages compared to Qt designer:   -you can generate the C++ code (CRTL/S) on the fly   -You can execute/modify this code with the editor or the builder itself.
  -The ROOT widgets are all available
  -It supports the ROOT signal/slots that can be created/used interactively

   thanks to the interpreter (it does not require an intermediate    preprocessing/compilation step).
  -It is cross-platform

We see the current ROOT/Qt interfaces attractive for applications mainly based on Qt and using (among other things) a TCanvas. Questions connected with these interfaces should be addressed directly to the authors

    Valeri Fine for QtBNL (     M.Al Turanny, D.Bertini for QtGSI (

We will continue to support these two interfaces (maintained by the original authors). However, our direction is clear, we will continue the development of the ROOT GUI, including the builder. That is what the vast majority of our users is requesting. At the same time, we will also make all possible efforts to make sure that ROOT widgets like TCanvas
can easily be embedded in other toolkits.

Rene Brun

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

> 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 []
> Sent: Fri 4/28/2006 12:07 PM
> To: Lee, Kerry T. (JSC-SF)[UHCL]
> Cc:
> 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 Sat Apr 29 2006 - 09:52:53 MEST

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