Diana Software
QGPlotEditWindow.hh
Go to the documentation of this file.
1 #ifndef _QG_PLOT_EDIT_WINDOW_HH_
2 #define _QG_PLOT_EDIT_WINDOW_HH_
3 
11 #include "QGWindow.hh"
12 
13 class QGCutsFrame;
14 class QGPlot;
16 class QGPlotStyleFrame;
17 class TGMainFrame;
18 
19 class QGPlotEditWindow : public QGWindow {
20 public:
22  QGPlotEditWindow(const TGWindow *p = 0, UInt_t w = 280, UInt_t h = 450);
23 
25  virtual ~QGPlotEditWindow();
26 
28  virtual void FillVariablesDropDownBoxes() = 0;
29 
32 
35 
37  virtual QGPlot *GetPlot() = 0;
38 
41 
43  virtual void SetPlot(QGPlot *plot) = 0;
44 
46  void ShowButtonsFrame();
47 
49  void ShowCutsFrame();
50 
52  void ShowPlotStyleFrame();
53 
54 protected:
57 
60 
63 
64  ClassDef(QGPlotEditWindow, 0)
65 };
66 
67 #endif
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.
QGPlotStyleFrame * GetPlotStyleFrame()
Get pointer to the plot style frame.
QGPlotEditButtonsFrame * GetButtonsFrame()
Get pointer to the buttons frame.
QGCutsFrame * fCutsFrame
Cuts frame.
QGPlotEditWindow(const TGWindow *p=0, UInt_t w=280, UInt_t h=450)
Constructor.
virtual void FillVariablesDropDownBoxes()=0
Fill drop down boxes with variables from the chain, must be overridden by derived classes.
virtual QGPlot * GetPlot()=0
Get pointer to plot, pure virtual function must be overriden by derived classes.
QGPlotEditButtonsFrame * fButtonsFrame
Buttons frame.
void ShowButtonsFrame()
Show buttons frame.
virtual void SetPlot(QGPlot *plot)=0
Set plot, pure virtual function must be overriden by derived classes.
QGCutsFrame * GetCutsFrame()
Get pointer to the cuts frame.
Part of a plot edit window showing the plot style.
Base class for GUI plots including histograms, scatter plots, pulses, and graphical cuts.
Definition: QGPlot.hh:21
Base class for GUI windows.
Definition: QGWindow.hh:15