Diana Software
QGPlotStyleFrame.cc
Go to the documentation of this file.
1 #include "QGPlotStyleFrame.hh"
2 #include "QGPlotEditWindow.hh"
3 #include "TCanvas.h"
4 #include "TRootEmbeddedCanvas.h"
5 
7 
9 TGHorizontalFrame(p, w, h),
10 fPlotEditWindow(p)
11 {
12  SetCleanup(kDeepCleanup);
13 
14  fEmbeddedCanvas = new TRootEmbeddedCanvas("Canvas", this, w, h);
15  AddFrame(fEmbeddedCanvas, new TGLayoutHints(kLHintsCenterX | kLHintsCenterY, 0, 0, 0, 0));
16  fEmbeddedCanvas->GetCanvas()->SetBorderMode(0);
17 }
18 
20 {
21  Cleanup();
22 }
ClassImp(QGPlotStyleFrame) QGPlotStyleFrame
Base class for plot edit windows.
Part of a plot edit window showing the plot style.
virtual ~QGPlotStyleFrame()
Destructor.
QGPlotStyleFrame(QGPlotEditWindow *p=0, UInt_t w=50, UInt_t h=50)
Constructor.