ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
gui
qtgsi
inc
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
TCanvasImp
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area)...
Definition:
TCanvasImp.h:32
c
return c
Definition:
entrylist_figure1.C:47
TQCanvasImp::TQCanvasImp
TQCanvasImp(TCanvas *=0)
TQCanvasImp ctor.
Definition:
TQCanvasImp.cxx:56
Int_t
int Int_t
Definition:
RtypesCore.h:41
TQRootCanvas
Definition:
TQRootCanvas.h:59
TQCanvasImp::fQCanvas
TQRootCanvas * fQCanvas
Definition:
TQCanvasImp.h:32
x
Double_t x[n]
Definition:
legend1.C:17
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TQCanvasImp::Build
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
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TQCanvasImp::~TQCanvasImp
virtual ~TQCanvasImp()
dtor
Definition:
TQCanvasImp.cxx:74
TCanvasImp.h
TCanvas
The Canvas class.
Definition:
TCanvas.h:48
TQCanvasImp
Definition:
TQCanvasImp.h:30
y
Double_t y[n]
Definition:
legend1.C:17
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5