Diana Software
QGPlotFrame.hh
Go to the documentation of this file.
1 #ifndef _QG_PLOT_FRAME_HH_
2 #define _QG_PLOT_FRAME_HH_
3 
11 #include "TGFrame.h"
12 
13 class QGCanvasWindow;
14 class QGPlotIconsFrame;
15 class TRootEmbeddedCanvas;
16 
17 class QGPlotFrame : public TGHorizontalFrame {
18 public:
20  virtual ~QGPlotFrame();
21 
24 
26  TRootEmbeddedCanvas *GetEmbeddedCanvas() {return fCanvas;}
27 
28 private:
30  QGPlotFrame(QGCanvasWindow *p, UInt_t w, UInt_t h);
31 
33  TRootEmbeddedCanvas *fCanvas;
34 
37 
40 
41  friend class QGCanvasWindow;
42 
43  ClassDef(QGPlotFrame, 0)
44 };
45 
46 #endif
Window containing a ROOT canvas.
Part of a canvas window containing the ROOT canvas.
Definition: QGPlotFrame.hh:17
TRootEmbeddedCanvas * fCanvas
ROOT canvas.
Definition: QGPlotFrame.hh:33
QGCanvasWindow * fCanvasWindow
Pointer to canvas window.
Definition: QGPlotFrame.hh:36
QGCanvasWindow * GetCanvasWindow()
Get pointer to the canvas window.
Definition: QGPlotFrame.hh:23
virtual ~QGPlotFrame()
Destructor.
Definition: QGPlotFrame.cc:29
QGPlotFrame(QGCanvasWindow *p, UInt_t w, UInt_t h)
Private constructor.
QGPlotIconsFrame * fPlotIconsFrame
Plot icons frame.
Definition: QGPlotFrame.hh:39
TRootEmbeddedCanvas * GetEmbeddedCanvas()
Get pointer to canvas.
Definition: QGPlotFrame.hh:26
Part of a QGPlotFrame containing buttons to add new plots.