Qt-layer for ROOT version 5.11/02

From: Fine, Valeri <fine_at_bnl.gov>
Date: Thu, 20 Apr 2006 20:55:30 -0400


   To facilitate the "pure" GUI ROOT-based Qt application    (with no console for stdout/stderr) for all 3 platforms: Mac, X11, Win32

    are disabled "by default" (for such kind of the application only)

    To get the ROOT interactive command mode back one needs     to include in his/her .rootrc file the statement:

          Gui.Prompt true

    One can use Qt classes directly from interactive ROOT session and ACLiC as well.

   To use Qt classes directly one should create the optional qtcint DLL with the command

   > cd $ROOTSYS
   > make qtcint

There are two simple examples. It can be used with and with no ACliC from ROOT prompt:

  1. QtFileDialog http://root.bnl.gov/QtRoot/htmldoc/src/QtFileDialog.C.html
  2. QtMultiFileDialog http://root.bnl.gov/QtRoot/htmldoc/src/QtMultiFileDialog.C.html

The subset of the Qt classes available from the RootCint prompt directly with no ACliC is defined by $ROOTSYS/cint/lib/qt/qtclasses.h http://root.bnl.gov/QtRoot/htmldoc/src/qtclasses.h.html Download from http://root.bnl.gov/QtRoot/qtclasses.h you can customize this list to meet your local needs.
There is no obstacle to use any Qt classes from ACLiC.

Qt Extension ( http://root.bnl.gov/QtRoot/QtRoot.html#what )includes several new user's classes:

TEmbeddedPad - stand-alone TPad class to create the off-screen QPixmap objects

TZoomPadWidget - create the temporary "splash" TCanvas with the magnified



TQRootCanvas - support the application designed for Qt GSI application http://root.bnl.gov/QtRoot/htmldoc/TQRootCanvas.html

The qtExample directory contains new the Qt qmake projects those show how to use all classes above, including the example to compile and run root/qtgsi/test/example1.

All examples can be installed against of any not too old :) ROOT version.

Best regards

> -----Original Message-----
> From: Rene Brun [mailto:Rene.Brun_at_cern.ch]
> Sent: Thursday, April 20, 2006 3:33 AM
> To: roottalk_at_pcroot.cern.ch; project-lcg-peb-apps_at_cern.ch
> Subject: ROOT version 5.11/02 is released
> The first development release of ROOT 5.11/02 is now available.
> Tar files for the source, documentation and binaries are available at:
> http://root.cern.ch/root/Version511.news.html
> http://root.cern.ch/root/Version511.html
> The CVS tag for this version is v5-11-02.
> Highlights of this new version:
> * Use of precompiled headers in the build system
> * Many developments in PROOF
> * Improvements in the SQL interfaces. New package ODBC.
> * GL in the pad. Many improvements
> * Grayscale option to print or preview a canvas
> * New option in TGraph to draw an exclusion area
> * GUI Builder; Important developments. More coming shortly
> * A new lightweight Qt interface from GSI
> * New Fast Fourier Transform package FFTW
> * many improvements in MathCore, Smatrix and TMatrix
> The production release (will be version 5.12) is planned for this
> The precise date will depend on the progress of the CINT/Reflex
> integration.
> On behalf of the ROOT team
> Rene Brun
Received on Fri Apr 21 2006 - 02:56:29 MEST

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