Public Member Functions | |
QGHistogramParametersFrame (QGHistogramEditWindow *p=0, UInt_t w=100, UInt_t h=100) | |
Constructor. | |
virtual | ~QGHistogramParametersFrame () |
Destructor. | |
void | AutoSetBinWidth () |
Set bin width automatically. | |
void | AutoSetNumberOfBins () |
Set number of bins automatically. | |
Double_t | GetBinWidth () |
Get bin width. | |
Int_t | GetNumberOfBins () |
Get number of bins. | |
QGDropDownBox * | GetXDropDownBox () |
Get pointer to x-axis variable drop down box. | |
Double_t | GetXMax () |
Get x-axis maximum. | |
Double_t | GetXMin () |
Get x-axis minimum. | |
std::string | GetXUnits () |
Get x-axis units. | |
std::string | GetXVariable () |
Get x-axis variable. | |
void | HandleBinWidthEvent (Event_t *event) |
Handle event in bin width box. | |
void | HandleNumberOfBinsEvent (Event_t *event) |
Handle event in number of bins box. | |
void | HandleXMaxEvent (Event_t *event) |
Handle event in x-axis maximum box. | |
void | HandleXMinEvent (Event_t *event) |
Handle event in x-axis minimum box. | |
bool | IsBinWidthSet () |
Handle event in x-axis units box. | |
bool | IsNumberOfBinsSet () |
Return true if number of bins is set. | |
bool | IsSuperimposeSet () |
Return true if superimpose box is checked. | |
bool | IsXMaxSet () |
Return true if x-axis maximum is set. | |
bool | IsXMinSet () |
Return true if x-axis minimum is set. | |
void | SetBinWidth (Double_t width) |
Set the bin width. | |
void | SetNumberOfBins (Int_t n) |
Set the number of bins. | |
void | SetSuperimpose (bool flag=true) |
Set whether the superimpose box is checked. | |
void | SetXMax (Double_t max) |
Set the x-axis maximum. | |
void | SetXMin (Double_t min) |
Set the x-axis minimum. | |
void | SetXUnits (const std::string &units) |
Set the x-axis units. | |
void | SetXVariable (const std::string &x) |
Set the x-axis variable. | |
Private Attributes | |
TGHorizontalFrame * | fBinsFrame |
Horizontal frame for bins parameters. | |
QGTextEntry * | fBinWidthBox |
Bin width box. | |
TGLabel * | fBinWidthLabel |
Bin width label. | |
QGHistogramEditWindow * | fHistogramEditWindow |
Pointer to parent histogram edit window. | |
TGHorizontalFrame * | fMinMaxFrame |
Horizontal frame for x-axis minimum and maximum. | |
QGTextEntry * | fNumberOfBinsBox |
Number of bins box. | |
TGLabel * | fNumberOfBinsLabel |
Number of bins label. | |
TGCheckButton * | fSuperimposeBox |
Superimpose check box. | |
TGLabel * | fUnitsLabel |
Units label. | |
QGDropDownBox * | fXDropDownBox |
X-axis variable drop down box. | |
TGHorizontalFrame * | fXFrame |
Horizontal frame for x-axis variable. | |
TGLabel * | fXLabel |
X label. | |
QGTextEntry * | fXMaxBox |
X-axis maximum box. | |
TGLabel * | fXMaxLabel |
QGTextEntry * | fXMinBox |
X-axis minimum box. | |
TGLabel * | fXMinLabel |
QGTextEntry * | fXUnitsBox |
X-axis units box. |
bool QGHistogramParametersFrame::IsBinWidthSet | ( | ) |
Handle event in x-axis units box.
Handle event in x-axis variable box Return true if bin width is set
References fBinWidthBox.
Referenced by AutoSetNumberOfBins(), and GetBinWidth().