Logo ROOT   6.16/01
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
26class TQRootCanvas;
27
28class TQCanvasImp : public TCanvasImp {
29protected:
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);
32public:
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
#define c(i)
Definition: RSha256.hxx:101
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:324
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area).
Definition: TCanvasImp.h:30
The Canvas class.
Definition: TCanvas.h:31
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
virtual ~TQCanvasImp()
dtor
Definition: TQCanvasImp.cxx:74
TQCanvasImp(TCanvas *=0)
TQCanvasImp ctor.
Definition: TQCanvasImp.cxx:56
TQRootCanvas * fQCanvas
Definition: TQCanvasImp.h:30
Double_t y[n]
Definition: legend1.C:17
Double_t x[n]
Definition: legend1.C:17