Diana Software
QGPlotEditWindow.cc
Go to the documentation of this file.
1 #include "QGPlotEditWindow.hh"
3 #include "QGCutsFrame.hh"
4 #include "QGPlotStyleFrame.hh"
5 
7 
8 QGPlotEditWindow::QGPlotEditWindow(const TGWindow *p, UInt_t w, UInt_t h) :
9 QGWindow(p, w, h),
10 fButtonsFrame(0), fCutsFrame(0), fPlotStyleFrame(0)
11 {
12  // the work should be done in derived classes
13 }
14 
16 {
17 }
18 
20 {
22  AddFrame(fButtonsFrame, new TGLayoutHints(kLHintsExpandX, 2, 2, 4, 2));
23 }
24 
26 {
27  fCutsFrame = new QGCutsFrame(this);
28  AddFrame(fCutsFrame, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY, 2, 2, 2, 0));
29 }
30 
32 {
34  AddFrame(fPlotStyleFrame, new TGLayoutHints(kLHintsCenterX, 2, 2, 2, 0));
35 }
ClassImp(QGPlotEditWindow) QGPlotEditWindow
Frame to handle editing of cuts.
Definition: QGCutsFrame.hh:21
Frame to hold control buttons for plot edit window.
Base class for plot edit windows.
void ShowPlotStyleFrame()
Show plot style frame.
void ShowCutsFrame()
Show cuts frame.
QGPlotStyleFrame * fPlotStyleFrame
Canvas for plot style.
virtual ~QGPlotEditWindow()
Destructor.
QGCutsFrame * fCutsFrame
Cuts frame.
QGPlotEditWindow(const TGWindow *p=0, UInt_t w=280, UInt_t h=450)
Constructor.
QGPlotEditButtonsFrame * fButtonsFrame
Buttons frame.
void ShowButtonsFrame()
Show buttons frame.
Part of a plot edit window showing the plot style.
Base class for GUI windows.
Definition: QGWindow.hh:15