7 #include "TRootEmbeddedCanvas.h"
12 TGHorizontalFrame(p, w, h),
15 SetCleanup(kDeepCleanup);
17 fCanvas =
new TRootEmbeddedCanvas(
"Canvas",
this, w, h);
18 AddFrame(fCanvas,
new TGLayoutHints(kLHintsExpandX | kLHintsExpandY, 0, 0, 0, 0));
19 fCanvas->GetCanvas()->SetBorderMode(0);
20 fCanvas->GetCanvas()->SetRightMargin(0.05);
21 fCanvas->GetCanvas()->SetTopMargin(0.075);
24 AddFrame(fPlotIconsFrame,
new TGLayoutHints(kLHintsRight, 2, 0, 0, 0));
26 TGaxis::SetMaxDigits(4);
ClassImp(QGPlotFrame) QGPlotFrame
Window containing a ROOT canvas.
Part of a canvas window containing the ROOT canvas.
virtual ~QGPlotFrame()
Destructor.
QGPlotFrame(QGCanvasWindow *p, UInt_t w, UInt_t h)
Private constructor.
Part of a QGPlotFrame containing buttons to add new plots.