![]() |
Diana Software
|
Class for histogram edit window. More...
Public Member Functions | |
| QGHistogramEditWindow (const TGWindow *p=0, UInt_t w=280, UInt_t h=450) | |
| Constructor. More... | |
| virtual | ~QGHistogramEditWindow () |
| Destructor. More... | |
| void | FillVariablesDropDownBoxes () |
| Fill drop down boxes with variables from the chain. More... | |
| QGHistogramParametersFrame * | GetHistogramParametersFrame () |
| Get pointer to histogram parameters frame. More... | |
| QGPlot * | GetPlot () |
| Get pointer to the histogram. More... | |
| void | SetPlot (QGPlot *plot) |
| Set pointer to plot. More... | |
| void | ShowHistogramParametersFrame () |
| Show parameters frame. More... | |
Public Member Functions inherited from QGPlotEditWindow | |
| QGPlotEditWindow (const TGWindow *p=0, UInt_t w=280, UInt_t h=450) | |
| Constructor. More... | |
| virtual | ~QGPlotEditWindow () |
| Destructor. More... | |
| QGPlotEditButtonsFrame * | GetButtonsFrame () |
| Get pointer to the buttons frame. More... | |
| QGCutsFrame * | GetCutsFrame () |
| Get pointer to the cuts frame. More... | |
| QGPlotStyleFrame * | GetPlotStyleFrame () |
| Get pointer to the plot style frame. More... | |
| void | ShowButtonsFrame () |
| Show buttons frame. More... | |
| void | ShowCutsFrame () |
| Show cuts frame. More... | |
| void | ShowPlotStyleFrame () |
| Show plot style frame. More... | |
Public Member Functions inherited from QGWindow | |
| QGWindow (const TGWindow *p=0, UInt_t w=100, UInt_t h=100) | |
| Constructor. More... | |
| virtual | ~QGWindow () |
| Destructor. More... | |
| virtual void | SetWindowName (const char *name=0) |
| Set name of window. More... | |
Private Attributes | |
| QGHistogram * | fHistogram |
| Pointer to QGHistogram. More... | |
| QGHistogramParametersFrame * | fHistogramParametersFrame |
| Histogram parameters frame. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from QGWindow | |
| static QGWindow * | GetWindowByName (const std::string &name) |
| Get pointer to window with a given name. More... | |
| static const std::list< QGWindow * > & | GetWindows () |
| Get collection of windows. More... | |
| static bool | IsNameInUse (std::string name) |
| Check whether string is the name of any window. More... | |
| static std::string | GenerateWindowName (std::string baseName) |
| Generate a name for the window. More... | |
| static void | UpdateWindowDropDownBoxes () |
| Update window drop down boxes. More... | |
Protected Attributes inherited from QGPlotEditWindow | |
| QGPlotEditButtonsFrame * | fButtonsFrame |
| Buttons frame. More... | |
| QGCutsFrame * | fCutsFrame |
| Cuts frame. More... | |
| QGPlotStyleFrame * | fPlotStyleFrame |
| Canvas for plot style. More... | |
Protected Attributes inherited from QGWindow | |
| UInt_t | fWidth |
| Width of window. More... | |
| UInt_t | fHeight |
| Height of window. More... | |
Static Protected Attributes inherited from QGWindow | |
| static std::list< QGWindow * > | fWindows |
| Collection of pointers to all open QGWindows. More... | |
Class for histogram edit window.
Definition at line 17 of file QGHistogramEditWindow.hh.
| QGHistogramEditWindow::QGHistogramEditWindow | ( | const TGWindow * | p = 0, |
| UInt_t | w = 280, |
||
| UInt_t | h = 450 |
||
| ) |
Constructor.
Definition at line 23 of file QGHistogramEditWindow.cc.
References QGPlotEditWindow::fButtonsFrame, QGPlotEditWindow::fCutsFrame, QGCutsFrame::GetCutsListBox(), QStringHandler::Resize(), QGPlotEditWindow::ShowButtonsFrame(), QGPlotEditWindow::ShowCutsFrame(), QGPlotEditButtonsFrame::ShowDefaultDisplay(), ShowHistogramParametersFrame(), and QGPlotEditWindow::ShowPlotStyleFrame().
|
virtual |
Destructor.
Definition at line 40 of file QGHistogramEditWindow.cc.
References fHistogram, and QGPlot::SetPlotEditWindow().
|
virtual |
Fill drop down boxes with variables from the chain.
Implements QGPlotEditWindow.
Definition at line 47 of file QGHistogramEditWindow.cc.
References QGDropDownBox::AddEntryS(), QGPlotEditWindow::fCutsFrame, fHistogram, fHistogramParametersFrame, QGPlot::GetCanvasWindow(), QGCutsFrame::GetDropDownBox(), QGCanvasWindow::GetFileHandler(), QGFileHandler::GetSetOfAliases(), QGFileHandler::GetSetOfLeaves(), QGHistogramParametersFrame::GetXDropDownBox(), QGHistogramParametersFrame::GetXVariable(), and QGHistogramParametersFrame::SetXVariable().
Referenced by SetPlot().
|
inline |
Get pointer to histogram parameters frame.
Definition at line 29 of file QGHistogramEditWindow.hh.
References fHistogramParametersFrame.
|
inlinevirtual |
Get pointer to the histogram.
Implements QGPlotEditWindow.
Definition at line 32 of file QGHistogramEditWindow.hh.
References fHistogram.
|
virtual |
Set pointer to plot.
Implements QGPlotEditWindow.
Definition at line 68 of file QGHistogramEditWindow.cc.
References QGHistogramParametersFrame::AutoSetBinWidth(), QGPlotEditWindow::fButtonsFrame, QGPlotEditWindow::fCutsFrame, fHistogram, fHistogramParametersFrame, FillVariablesDropDownBoxes(), QGPlotEditButtonsFrame::FillWindowDropDownBox(), QGHistogram::GetName(), QGHistogramParametersFrame::SetBinWidth(), QGCutsFrame::SetCuts(), QGHistogramParametersFrame::SetNumberOfBins(), QGHistogramParametersFrame::SetSuperimpose(), QGWindow::SetWindowName(), QGHistogramParametersFrame::SetXMax(), QGHistogramParametersFrame::SetXMin(), QGHistogramParametersFrame::SetXUnits(), and QGHistogramParametersFrame::SetXVariable().
| void QGHistogramEditWindow::ShowHistogramParametersFrame | ( | ) |
Show parameters frame.
Definition at line 101 of file QGHistogramEditWindow.cc.
References fHistogramParametersFrame.
Referenced by QGHistogramEditWindow().
|
private |
Pointer to QGHistogram.
Definition at line 42 of file QGHistogramEditWindow.hh.
Referenced by FillVariablesDropDownBoxes(), GetPlot(), SetPlot(), and ~QGHistogramEditWindow().
|
private |
Histogram parameters frame.
Definition at line 45 of file QGHistogramEditWindow.hh.
Referenced by FillVariablesDropDownBoxes(), GetHistogramParametersFrame(), SetPlot(), and ShowHistogramParametersFrame().