![]() |
Diana Software
|
Part of a histogram edit window for inputting parameters. More...
Public Member Functions | |
| QGHistogramParametersFrame (QGHistogramEditWindow *p=0, UInt_t w=100, UInt_t h=100) | |
| Constructor. More... | |
| virtual | ~QGHistogramParametersFrame () |
| Destructor. More... | |
| void | AutoSetBinWidth () |
| Set bin width automatically. More... | |
| void | AutoSetNumberOfBins () |
| Set number of bins automatically. More... | |
| Double_t | GetBinWidth () |
| Get bin width. More... | |
| Int_t | GetNumberOfBins () |
| Get number of bins. More... | |
| QGDropDownBox * | GetXDropDownBox () |
| Get pointer to x-axis variable drop down box. More... | |
| Double_t | GetXMax () |
| Get x-axis maximum. More... | |
| Double_t | GetXMin () |
| Get x-axis minimum. More... | |
| std::string | GetXUnits () |
| Get x-axis units. More... | |
| std::string | GetXVariable () |
| Get x-axis variable. More... | |
| void | HandleBinWidthEvent (Event_t *event) |
| Handle event in bin width box. More... | |
| void | HandleNumberOfBinsEvent (Event_t *event) |
| Handle event in number of bins box. More... | |
| void | HandleXMaxEvent (Event_t *event) |
| Handle event in x-axis maximum box. More... | |
| void | HandleXMinEvent (Event_t *event) |
| Handle event in x-axis minimum box. More... | |
| bool | IsBinWidthSet () |
| Handle event in x-axis units box. More... | |
| bool | IsNumberOfBinsSet () |
| Return true if number of bins is set. More... | |
| bool | IsSuperimposeSet () |
| Return true if superimpose box is checked. More... | |
| bool | IsXMaxSet () |
| Return true if x-axis maximum is set. More... | |
| bool | IsXMinSet () |
| Return true if x-axis minimum is set. More... | |
| void | SetBinWidth (Double_t width) |
| Set the bin width. More... | |
| void | SetNumberOfBins (Int_t n) |
| Set the number of bins. More... | |
| void | SetSuperimpose (bool flag=true) |
| Set whether the superimpose box is checked. More... | |
| void | SetXMax (Double_t max) |
| Set the x-axis maximum. More... | |
| void | SetXMin (Double_t min) |
| Set the x-axis minimum. More... | |
| void | SetXUnits (const std::string &units) |
| Set the x-axis units. More... | |
| void | SetXVariable (const std::string &x) |
| Set the x-axis variable. More... | |
Private Attributes | |
| TGHorizontalFrame * | fBinsFrame |
| Horizontal frame for bins parameters. More... | |
| QGTextEntry * | fBinWidthBox |
| Bin width box. More... | |
| TGLabel * | fBinWidthLabel |
| Bin width label. More... | |
| QGHistogramEditWindow * | fHistogramEditWindow |
| Pointer to parent histogram edit window. More... | |
| TGHorizontalFrame * | fMinMaxFrame |
| Horizontal frame for x-axis minimum and maximum. More... | |
| QGTextEntry * | fNumberOfBinsBox |
| Number of bins box. More... | |
| TGLabel * | fNumberOfBinsLabel |
| Number of bins label. More... | |
| TGCheckButton * | fSuperimposeBox |
| Superimpose check box. More... | |
| TGLabel * | fUnitsLabel |
| Units label. More... | |
| QGDropDownBox * | fXDropDownBox |
| X-axis variable drop down box. More... | |
| TGHorizontalFrame * | fXFrame |
| Horizontal frame for x-axis variable. More... | |
| TGLabel * | fXLabel |
| X label. More... | |
| QGTextEntry * | fXMaxBox |
| X-axis maximum box. More... | |
| TGLabel * | fXMaxLabel |
| QGTextEntry * | fXMinBox |
| X-axis minimum box. More... | |
| TGLabel * | fXMinLabel |
| QGTextEntry * | fXUnitsBox |
| X-axis units box. More... | |
Part of a histogram edit window for inputting parameters.
Definition at line 20 of file QGHistogramParametersFrame.hh.
| QGHistogramParametersFrame::QGHistogramParametersFrame | ( | QGHistogramEditWindow * | p = 0, |
| UInt_t | w = 100, |
||
| UInt_t | h = 100 |
||
| ) |
Constructor.
Definition at line 16 of file QGHistogramParametersFrame.cc.
References QGDropDownBox::EnableTabCompletion(), fBinsFrame, fBinWidthBox, fBinWidthLabel, fMinMaxFrame, fNumberOfBinsBox, fNumberOfBinsLabel, fSuperimposeBox, fXDropDownBox, fXFrame, fXLabel, fXMaxBox, fXMaxLabel, fXMinBox, fXMinLabel, fXUnitsBox, QGDropDownBox::SetReturnTarget(), and QGTextEntry::SetTabTarget().
|
virtual |
Destructor.
Definition at line 94 of file QGHistogramParametersFrame.cc.
| void QGHistogramParametersFrame::AutoSetBinWidth | ( | ) |
Set bin width automatically.
Definition at line 99 of file QGHistogramParametersFrame.cc.
References GetNumberOfBins(), GetXMax(), GetXMin(), IsNumberOfBinsSet(), IsXMaxSet(), IsXMinSet(), and SetBinWidth().
Referenced by HandleBinWidthEvent(), HandleNumberOfBinsEvent(), QGHistogramEditWindow::SetPlot(), SetXMax(), and SetXMin().
| void QGHistogramParametersFrame::AutoSetNumberOfBins | ( | ) |
Set number of bins automatically.
Definition at line 108 of file QGHistogramParametersFrame.cc.
References GetBinWidth(), GetXMax(), GetXMin(), IsBinWidthSet(), IsXMaxSet(), IsXMinSet(), and SetNumberOfBins().
Referenced by HandleBinWidthEvent(), HandleXMaxEvent(), HandleXMinEvent(), SetXMax(), and SetXMin().
| Double_t QGHistogramParametersFrame::GetBinWidth | ( | ) |
Get bin width.
Definition at line 121 of file QGHistogramParametersFrame.cc.
References fBinWidthBox, and IsBinWidthSet().
Referenced by AutoSetNumberOfBins().
| Int_t QGHistogramParametersFrame::GetNumberOfBins | ( | ) |
Get number of bins.
Definition at line 130 of file QGHistogramParametersFrame.cc.
References fNumberOfBinsBox.
Referenced by AutoSetBinWidth().
|
inline |
Get pointer to x-axis variable drop down box.
Definition at line 41 of file QGHistogramParametersFrame.hh.
References fXDropDownBox.
Referenced by QGHistogramEditWindow::FillVariablesDropDownBoxes().
| Double_t QGHistogramParametersFrame::GetXMax | ( | ) |
Get x-axis maximum.
Definition at line 141 of file QGHistogramParametersFrame.cc.
References fXMaxBox, and IsXMaxSet().
Referenced by AutoSetBinWidth(), and AutoSetNumberOfBins().
| Double_t QGHistogramParametersFrame::GetXMin | ( | ) |
Get x-axis minimum.
Definition at line 150 of file QGHistogramParametersFrame.cc.
References fXMinBox, and IsXMinSet().
Referenced by AutoSetBinWidth(), and AutoSetNumberOfBins().
| string QGHistogramParametersFrame::GetXUnits | ( | ) |
Get x-axis units.
Definition at line 159 of file QGHistogramParametersFrame.cc.
References fXUnitsBox.
| string QGHistogramParametersFrame::GetXVariable | ( | ) |
Get x-axis variable.
Definition at line 164 of file QGHistogramParametersFrame.cc.
References fXDropDownBox.
Referenced by QGHistogramEditWindow::FillVariablesDropDownBoxes().
| void QGHistogramParametersFrame::HandleBinWidthEvent | ( | Event_t * | event | ) |
Handle event in bin width box.
Definition at line 169 of file QGHistogramParametersFrame.cc.
References AutoSetBinWidth(), and AutoSetNumberOfBins().
| void QGHistogramParametersFrame::HandleNumberOfBinsEvent | ( | Event_t * | event | ) |
Handle event in number of bins box.
Definition at line 179 of file QGHistogramParametersFrame.cc.
References AutoSetBinWidth().
| void QGHistogramParametersFrame::HandleXMaxEvent | ( | Event_t * | event | ) |
Handle event in x-axis maximum box.
Definition at line 186 of file QGHistogramParametersFrame.cc.
References AutoSetNumberOfBins().
| void QGHistogramParametersFrame::HandleXMinEvent | ( | Event_t * | event | ) |
Handle event in x-axis minimum box.
Definition at line 193 of file QGHistogramParametersFrame.cc.
References AutoSetNumberOfBins().
| bool QGHistogramParametersFrame::IsBinWidthSet | ( | ) |
Handle event in x-axis units box.
Handle event in x-axis variable box
Return true if bin width is set
Definition at line 200 of file QGHistogramParametersFrame.cc.
References fBinWidthBox.
Referenced by AutoSetNumberOfBins(), and GetBinWidth().
| bool QGHistogramParametersFrame::IsNumberOfBinsSet | ( | ) |
Return true if number of bins is set.
Definition at line 205 of file QGHistogramParametersFrame.cc.
References fNumberOfBinsBox.
Referenced by AutoSetBinWidth().
| bool QGHistogramParametersFrame::IsSuperimposeSet | ( | ) |
Return true if superimpose box is checked.
Definition at line 210 of file QGHistogramParametersFrame.cc.
References fSuperimposeBox.
| bool QGHistogramParametersFrame::IsXMaxSet | ( | ) |
Return true if x-axis maximum is set.
Definition at line 215 of file QGHistogramParametersFrame.cc.
References fXMaxBox.
Referenced by AutoSetBinWidth(), AutoSetNumberOfBins(), and GetXMax().
| bool QGHistogramParametersFrame::IsXMinSet | ( | ) |
Return true if x-axis minimum is set.
Definition at line 220 of file QGHistogramParametersFrame.cc.
References fXMinBox.
Referenced by AutoSetBinWidth(), AutoSetNumberOfBins(), and GetXMin().
| void QGHistogramParametersFrame::SetBinWidth | ( | Double_t | width | ) |
Set the bin width.
Definition at line 225 of file QGHistogramParametersFrame.cc.
References fBinWidthBox.
Referenced by AutoSetBinWidth(), and QGHistogramEditWindow::SetPlot().
| void QGHistogramParametersFrame::SetNumberOfBins | ( | Int_t | n | ) |
Set the number of bins.
Definition at line 233 of file QGHistogramParametersFrame.cc.
References fNumberOfBinsBox.
Referenced by AutoSetNumberOfBins(), and QGHistogramEditWindow::SetPlot().
| void QGHistogramParametersFrame::SetSuperimpose | ( | bool | flag = true | ) |
Set whether the superimpose box is checked.
Definition at line 240 of file QGHistogramParametersFrame.cc.
References fSuperimposeBox.
Referenced by QGHistogramEditWindow::SetPlot().
| void QGHistogramParametersFrame::SetXMax | ( | Double_t | max | ) |
Set the x-axis maximum.
Definition at line 249 of file QGHistogramParametersFrame.cc.
References AutoSetBinWidth(), AutoSetNumberOfBins(), fXMaxBox, and max.
Referenced by QGHistogramEditWindow::SetPlot().
| void QGHistogramParametersFrame::SetXMin | ( | Double_t | min | ) |
Set the x-axis minimum.
Definition at line 259 of file QGHistogramParametersFrame.cc.
References AutoSetBinWidth(), AutoSetNumberOfBins(), fXMinBox, and min().
Referenced by QGHistogramEditWindow::SetPlot().
| void QGHistogramParametersFrame::SetXUnits | ( | const std::string & | units | ) |
Set the x-axis units.
Definition at line 269 of file QGHistogramParametersFrame.cc.
References fXUnitsBox.
Referenced by QGHistogramEditWindow::SetPlot().
| void QGHistogramParametersFrame::SetXVariable | ( | const std::string & | x | ) |
Set the x-axis variable.
Definition at line 274 of file QGHistogramParametersFrame.cc.
References fXDropDownBox.
Referenced by QGHistogramEditWindow::FillVariablesDropDownBoxes(), and QGHistogramEditWindow::SetPlot().
|
private |
Horizontal frame for bins parameters.
Definition at line 111 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
Bin width box.
Definition at line 114 of file QGHistogramParametersFrame.hh.
Referenced by GetBinWidth(), IsBinWidthSet(), QGHistogramParametersFrame(), and SetBinWidth().
|
private |
Bin width label.
Definition at line 117 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
Pointer to parent histogram edit window.
Definition at line 120 of file QGHistogramParametersFrame.hh.
|
private |
Horizontal frame for x-axis minimum and maximum.
Definition at line 123 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
Number of bins box.
Definition at line 126 of file QGHistogramParametersFrame.hh.
Referenced by GetNumberOfBins(), IsNumberOfBinsSet(), QGHistogramParametersFrame(), and SetNumberOfBins().
|
private |
Number of bins label.
Definition at line 129 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
Superimpose check box.
Definition at line 132 of file QGHistogramParametersFrame.hh.
Referenced by IsSuperimposeSet(), QGHistogramParametersFrame(), and SetSuperimpose().
|
private |
Units label.
Definition at line 135 of file QGHistogramParametersFrame.hh.
|
private |
X-axis variable drop down box.
Definition at line 138 of file QGHistogramParametersFrame.hh.
Referenced by GetXDropDownBox(), GetXVariable(), QGHistogramParametersFrame(), and SetXVariable().
|
private |
Horizontal frame for x-axis variable.
Definition at line 141 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
X label.
Definition at line 144 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
X-axis maximum box.
Definition at line 147 of file QGHistogramParametersFrame.hh.
Referenced by GetXMax(), IsXMaxSet(), QGHistogramParametersFrame(), and SetXMax().
|
private |
Definition at line 150 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
X-axis minimum box.
Definition at line 153 of file QGHistogramParametersFrame.hh.
Referenced by GetXMin(), IsXMinSet(), QGHistogramParametersFrame(), and SetXMin().
|
private |
Definition at line 156 of file QGHistogramParametersFrame.hh.
Referenced by QGHistogramParametersFrame().
|
private |
X-axis units box.
Definition at line 159 of file QGHistogramParametersFrame.hh.
Referenced by GetXUnits(), QGHistogramParametersFrame(), and SetXUnits().