Logo ROOT   6.08/07
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 #ifndef ROOT_TCanvasImp
25 #include "TCanvasImp.h"
26 #endif
27 
28 class TQRootCanvas;
29 
30 class TQCanvasImp : public TCanvasImp {
31 protected:
32  TQRootCanvas *fQCanvas; // Pointer to the Qt widget (TQRootCanvas)
33  void Build(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height);
34 public:
35  TQCanvasImp(TCanvas* = 0);
36  TQCanvasImp(TCanvas *c, const char *name, UInt_t width, UInt_t height);
37  TQCanvasImp(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height);
38  virtual ~TQCanvasImp();
39 
40  ClassDef(TQCanvasImp,1) //ABC describing Qt GUI independent main window
41 };
42 
43 #endif
44 
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area)...
Definition: TCanvasImp.h:32
return c
TQCanvasImp(TCanvas *=0)
TQCanvasImp ctor.
Definition: TQCanvasImp.cxx:56
int Int_t
Definition: RtypesCore.h:41
TQRootCanvas * fQCanvas
Definition: TQCanvasImp.h:32
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:254
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:41
Double_t y[n]
Definition: legend1.C:17
char name[80]
Definition: TGX11.cxx:109