Logo ROOT   6.10/09
Reference Guide
TQCanvasImp.h
Go to the documentation of this file.
1 // @(#)root/qtgsi:$Id$
2 // Author: Denis Bertini 01/11/2000
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TQCanvasImp
13 #define ROOT_TQCanvasImp
14 
15 //////////////////////////////////////////////////////////////////////////
16 //
17 // TQCanvasImp
18 //
19 // ABC describing Qt GUI independent main window (with menubar,
20 // scrollbars and a drawing area).
21 //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #include "TCanvasImp.h"
25 
26 class TQRootCanvas;
27 
28 class TQCanvasImp : public TCanvasImp {
29 protected:
30  TQRootCanvas *fQCanvas; // Pointer to the Qt widget (TQRootCanvas)
31  void Build(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height);
32 public:
33  TQCanvasImp(TCanvas* = 0);
34  TQCanvasImp(TCanvas *c, const char *name, UInt_t width, UInt_t height);
35  TQCanvasImp(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height);
36  virtual ~TQCanvasImp();
37 
38  ClassDef(TQCanvasImp,1) //ABC describing Qt GUI independent main window
39 };
40 
41 #endif
42 
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area)...
Definition: TCanvasImp.h:30
TQCanvasImp(TCanvas *=0)
TQCanvasImp ctor.
Definition: TQCanvasImp.cxx:56
int Int_t
Definition: RtypesCore.h:41
TQRootCanvas * fQCanvas
Definition: TQCanvasImp.h:30
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:297
void Build(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
Build the TQRootCanvas.
Definition: TQCanvasImp.cxx:64
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual ~TQCanvasImp()
dtor
Definition: TQCanvasImp.cxx:74
The Canvas class.
Definition: TCanvas.h:31
Double_t y[n]
Definition: legend1.C:17