QGHistogramParametersFrame Class Reference

List of all members.

Detailed Description

Part of a histogram edit window for inputting parameters.

Author:
Adam Bryant (adam_bryant@berkeley.edu)


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.
QGDropDownBoxGetXDropDownBox ()
 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 Handle event in x-axis variable box Return true if bin width is set.
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.
QGTextEntryfBinWidthBox
 Bin width box.
TGLabel * fBinWidthLabel
 Bin width label.
QGHistogramEditWindowfHistogramEditWindow
 Pointer to parent histogram edit window.
TGHorizontalFrame * fMinMaxFrame
 Horizontal frame for x-axis minimum and maximum.
QGTextEntryfNumberOfBinsBox
 Number of bins box.
TGLabel * fNumberOfBinsLabel
 Number of bins label.
TGCheckButton * fSuperimposeBox
 Superimpose check box.
TGLabel * fUnitsLabel
 Units label.
QGDropDownBoxfXDropDownBox
 X-axis variable drop down box.
TGHorizontalFrame * fXFrame
 Horizontal frame for x-axis variable.
TGLabel * fXLabel
 X label.
QGTextEntryfXMaxBox
 X-axis maximum box.
TGLabel * fXMaxLabel
QGTextEntryfXMinBox
 X-axis minimum box.
TGLabel * fXMinLabel
QGTextEntryfXUnitsBox
 X-axis units box.


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:43 2009 for CUORE Software by  doxygen 1.5.1