Diana Software
Public Member Functions | Private Attributes | List of all members
QGPulseParametersFrame Class Reference

Part of a pulse edit window for inputting parameters. More...

Inheritance diagram for QGPulseParametersFrame:

Public Member Functions

 QGPulseParametersFrame (QGPulseEditWindow *p=0, UInt_t w=100, UInt_t h=100)
 Constructor. More...
 
virtual ~QGPulseParametersFrame ()
 Destructor. More...
 
Long_t GetEventIndex () const
 Get event index. More...
 
QGDropDownBoxGetOrderedByDropDownBox ()
 Get pointer to the ordered-by drop down box. More...
 
QGDropDownBoxGetSamplesLabelDropDownBox ()
 Get pointer to the samples label drop down box. More...
 
std::string GetOrderVariable () const
 Get ordered-by variable. More...
 
std::string GetSamplesLabel () const
 Get samples label. More...
 
void HandleNextButton ()
 Handle next button. More...
 
void HandlePreviousButton ()
 Handle previous button. More...
 
void HandlePulseNumberBox ()
 Handle pulse number box. More...
 
bool IsSuperimposeSet ()
 Return true if superimpose box is checked. More...
 
bool IsUseADCUnitsSet ()
 Return true if use ADC units box is checked. More...
 
bool IsShowLegendsSet ()
 Return true if legends box is checked. More...
 
bool IsZeroOffsetSet ()
 Return true if zero offset box is checked. More...
 
bool IsUnitarySet ()
 Return true if unitary box is checked. More...
 
void SetEventIndex (Long_t index)
 Set event index. More...
 
void SetNumberOfEvents (Long_t number)
 Set number of events. More...
 
void SetOrderVariable (std::string orderVariable)
 Set ordered-by variable. More...
 
void SetSamplesLabel (std::string samplesVariable)
 Set samples label. More...
 
void SetSuperimpose (bool flag=true)
 Set whether the superimpose box is checked. More...
 
void SetUseADCUnits (bool flag=true)
 Set whether the use ADC units box is checked. More...
 
void SetShowLegends (bool flag=true)
 Set whether the legends box is checked. More...
 
void SetZeroOffset (bool flag=true)
 Set whether the zero offset box is checked. More...
 
void SetUnitary (bool flag=true)
 Set whether the unitary box is checked. More...
 

Private Attributes

TGPictureButton * fNextButton
 Next button. More...
 
TGNumberEntryField * fNumberOfPulsesBox
 Number of pulses box. More...
 
TGHorizontalFrame * fOptionsFrame
 Horizontal frame for options boxes. More...
 
TGHorizontalFrame * fOptionsFrame2
 Secondary Horizontal frame for options boxes. More...
 
QGDropDownBoxfOrderedByDropDownBox
 Ordered-by box. More...
 
QGDropDownBoxfSamplesLabelDropDownBox
 samples label box More...
 
TGHorizontalFrame * fOrderedByFrame
 Horizontal frame for ordered-by. More...
 
TGHorizontalFrame * fSamplesLabelFrame
 Horizontal frame for samples. More...
 
TGLabel * fOrderedByLabel
 Ordered-by label. More...
 
TGLabel * fSamplesLabel
 sampleslabel More...
 
TGPictureButton * fPreviousButton
 Previous button. More...
 
TGHorizontalFrame * fPreviousNextFrame
 Horizontal frame for previous/next buttons. More...
 
QGPulseEditWindowfPulseEditWindow
 Pointer to parent pulse edit window. More...
 
TGNumberEntryField * fPulseNumberBox
 Pulse number box. More...
 
TGCheckButton * fSuperimposeBox
 Superimpose check box. More...
 
TGCheckButton * fUseADCUnitsBox
 Use ADC Units check box. More...
 
TGCheckButton * fShowLegendsBox
 Show Legends check box. More...
 
TGCheckButton * fZeroOffsetBox
 ZeroOffset check box. More...
 
TGCheckButton * fUnitaryBox
 Unitary check box. More...
 

Detailed Description

Part of a pulse edit window for inputting parameters.

Author
Adam Bryant (adam_.nosp@m.brya.nosp@m.nt@be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u)

Definition at line 21 of file QGPulseParametersFrame.hh.

Constructor & Destructor Documentation

◆ QGPulseParametersFrame()

QGPulseParametersFrame::QGPulseParametersFrame ( QGPulseEditWindow p = 0,
UInt_t  w = 100,
UInt_t  h = 100 
)

◆ ~QGPulseParametersFrame()

QGPulseParametersFrame::~QGPulseParametersFrame ( )
virtual

Destructor.

Definition at line 108 of file QGPulseParametersFrame.cc.

Member Function Documentation

◆ GetEventIndex()

Long_t QGPulseParametersFrame::GetEventIndex ( ) const

Get event index.

Definition at line 113 of file QGPulseParametersFrame.cc.

References fPulseNumberBox.

◆ GetOrderedByDropDownBox()

QGDropDownBox* QGPulseParametersFrame::GetOrderedByDropDownBox ( )
inline

Get pointer to the ordered-by drop down box.

Definition at line 33 of file QGPulseParametersFrame.hh.

References fOrderedByDropDownBox.

Referenced by QGPulseEditWindow::FillVariablesDropDownBoxes().

◆ GetOrderVariable()

string QGPulseParametersFrame::GetOrderVariable ( ) const

Get ordered-by variable.

Definition at line 118 of file QGPulseParametersFrame.cc.

References fOrderedByDropDownBox.

Referenced by QGPulseEditWindow::FillVariablesDropDownBoxes().

◆ GetSamplesLabel()

string QGPulseParametersFrame::GetSamplesLabel ( ) const

Get samples label.

Definition at line 122 of file QGPulseParametersFrame.cc.

References fSamplesLabelDropDownBox.

Referenced by QGPulseEditWindow::FillVariablesDropDownBoxes().

◆ GetSamplesLabelDropDownBox()

QGDropDownBox* QGPulseParametersFrame::GetSamplesLabelDropDownBox ( )
inline

Get pointer to the samples label drop down box.

Definition at line 36 of file QGPulseParametersFrame.hh.

References fSamplesLabelDropDownBox.

Referenced by QGPulseEditWindow::FillVariablesDropDownBoxes().

◆ HandleNextButton()

void QGPulseParametersFrame::HandleNextButton ( )

◆ HandlePreviousButton()

void QGPulseParametersFrame::HandlePreviousButton ( )

Handle previous button.

Definition at line 136 of file QGPulseParametersFrame.cc.

References fPulseEditWindow, fPulseNumberBox, QGPulseEditWindow::GetPlot(), and QGPlot::Plot().

◆ HandlePulseNumberBox()

void QGPulseParametersFrame::HandlePulseNumberBox ( )

Handle pulse number box.

Definition at line 144 of file QGPulseParametersFrame.cc.

References fPulseEditWindow, QGPulseEditWindow::GetPlot(), and QGPlot::Plot().

◆ IsShowLegendsSet()

bool QGPulseParametersFrame::IsShowLegendsSet ( )

Return true if legends box is checked.

Definition at line 159 of file QGPulseParametersFrame.cc.

References fShowLegendsBox.

◆ IsSuperimposeSet()

bool QGPulseParametersFrame::IsSuperimposeSet ( )

Return true if superimpose box is checked.

Definition at line 149 of file QGPulseParametersFrame.cc.

References fSuperimposeBox.

◆ IsUnitarySet()

bool QGPulseParametersFrame::IsUnitarySet ( )

Return true if unitary box is checked.

Definition at line 169 of file QGPulseParametersFrame.cc.

References fUnitaryBox.

◆ IsUseADCUnitsSet()

bool QGPulseParametersFrame::IsUseADCUnitsSet ( )

Return true if use ADC units box is checked.

Definition at line 154 of file QGPulseParametersFrame.cc.

References fUseADCUnitsBox.

◆ IsZeroOffsetSet()

bool QGPulseParametersFrame::IsZeroOffsetSet ( )

Return true if zero offset box is checked.

Definition at line 164 of file QGPulseParametersFrame.cc.

References fZeroOffsetBox.

◆ SetEventIndex()

void QGPulseParametersFrame::SetEventIndex ( Long_t  index)

Set event index.

Definition at line 177 of file QGPulseParametersFrame.cc.

References fPulseNumberBox.

Referenced by QGPulseEditWindow::SetPlot(), and QGPulseEditWindow::UpdateEventData().

◆ SetNumberOfEvents()

void QGPulseParametersFrame::SetNumberOfEvents ( Long_t  number)

Set number of events.

Definition at line 182 of file QGPulseParametersFrame.cc.

References fNumberOfPulsesBox, and fPulseNumberBox.

Referenced by QGPulseEditWindow::SetPlot(), and QGPulseEditWindow::UpdateEventData().

◆ SetOrderVariable()

void QGPulseParametersFrame::SetOrderVariable ( std::string  orderVariable)

Set ordered-by variable.

Definition at line 190 of file QGPulseParametersFrame.cc.

References fOrderedByDropDownBox.

Referenced by QGPulseEditWindow::SetPlot().

◆ SetSamplesLabel()

void QGPulseParametersFrame::SetSamplesLabel ( std::string  samplesVariable)

Set samples label.

Definition at line 195 of file QGPulseParametersFrame.cc.

References fSamplesLabelDropDownBox.

Referenced by QGPulseEditWindow::SetPlot().

◆ SetShowLegends()

void QGPulseParametersFrame::SetShowLegends ( bool  flag = true)

Set whether the legends box is checked.

Definition at line 221 of file QGPulseParametersFrame.cc.

References fShowLegendsBox.

◆ SetSuperimpose()

void QGPulseParametersFrame::SetSuperimpose ( bool  flag = true)

Set whether the superimpose box is checked.

Definition at line 201 of file QGPulseParametersFrame.cc.

References fSuperimposeBox.

Referenced by QGPulseEditWindow::SetPlot().

◆ SetUnitary()

void QGPulseParametersFrame::SetUnitary ( bool  flag = true)

Set whether the unitary box is checked.

Definition at line 239 of file QGPulseParametersFrame.cc.

References fUnitaryBox.

◆ SetUseADCUnits()

void QGPulseParametersFrame::SetUseADCUnits ( bool  flag = true)

Set whether the use ADC units box is checked.

Definition at line 211 of file QGPulseParametersFrame.cc.

References fUseADCUnitsBox.

Referenced by QGPulseEditWindow::SetPlot().

◆ SetZeroOffset()

void QGPulseParametersFrame::SetZeroOffset ( bool  flag = true)

Set whether the zero offset box is checked.

Definition at line 230 of file QGPulseParametersFrame.cc.

References fZeroOffsetBox.

Member Data Documentation

◆ fNextButton

TGPictureButton* QGPulseParametersFrame::fNextButton
private

Next button.

Definition at line 97 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fNumberOfPulsesBox

TGNumberEntryField* QGPulseParametersFrame::fNumberOfPulsesBox
private

Number of pulses box.

Definition at line 100 of file QGPulseParametersFrame.hh.

Referenced by HandleNextButton(), QGPulseParametersFrame(), and SetNumberOfEvents().

◆ fOptionsFrame

TGHorizontalFrame* QGPulseParametersFrame::fOptionsFrame
private

Horizontal frame for options boxes.

Definition at line 103 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fOptionsFrame2

TGHorizontalFrame* QGPulseParametersFrame::fOptionsFrame2
private

Secondary Horizontal frame for options boxes.

Definition at line 106 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fOrderedByDropDownBox

QGDropDownBox* QGPulseParametersFrame::fOrderedByDropDownBox
private

◆ fOrderedByFrame

TGHorizontalFrame* QGPulseParametersFrame::fOrderedByFrame
private

Horizontal frame for ordered-by.

Definition at line 115 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fOrderedByLabel

TGLabel* QGPulseParametersFrame::fOrderedByLabel
private

Ordered-by label.

Definition at line 121 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fPreviousButton

TGPictureButton* QGPulseParametersFrame::fPreviousButton
private

Previous button.

Definition at line 127 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fPreviousNextFrame

TGHorizontalFrame* QGPulseParametersFrame::fPreviousNextFrame
private

Horizontal frame for previous/next buttons.

Definition at line 130 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fPulseEditWindow

QGPulseEditWindow* QGPulseParametersFrame::fPulseEditWindow
private

Pointer to parent pulse edit window.

Definition at line 133 of file QGPulseParametersFrame.hh.

Referenced by HandleNextButton(), HandlePreviousButton(), and HandlePulseNumberBox().

◆ fPulseNumberBox

TGNumberEntryField* QGPulseParametersFrame::fPulseNumberBox
private

◆ fSamplesLabel

TGLabel* QGPulseParametersFrame::fSamplesLabel
private

sampleslabel

Definition at line 124 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fSamplesLabelDropDownBox

QGDropDownBox* QGPulseParametersFrame::fSamplesLabelDropDownBox
private

◆ fSamplesLabelFrame

TGHorizontalFrame* QGPulseParametersFrame::fSamplesLabelFrame
private

Horizontal frame for samples.

Definition at line 118 of file QGPulseParametersFrame.hh.

Referenced by QGPulseParametersFrame().

◆ fShowLegendsBox

TGCheckButton* QGPulseParametersFrame::fShowLegendsBox
private

Show Legends check box.

Definition at line 145 of file QGPulseParametersFrame.hh.

Referenced by IsShowLegendsSet(), QGPulseParametersFrame(), and SetShowLegends().

◆ fSuperimposeBox

TGCheckButton* QGPulseParametersFrame::fSuperimposeBox
private

Superimpose check box.

Definition at line 139 of file QGPulseParametersFrame.hh.

Referenced by IsSuperimposeSet(), QGPulseParametersFrame(), and SetSuperimpose().

◆ fUnitaryBox

TGCheckButton* QGPulseParametersFrame::fUnitaryBox
private

Unitary check box.

Definition at line 151 of file QGPulseParametersFrame.hh.

Referenced by IsUnitarySet(), QGPulseParametersFrame(), and SetUnitary().

◆ fUseADCUnitsBox

TGCheckButton* QGPulseParametersFrame::fUseADCUnitsBox
private

Use ADC Units check box.

Definition at line 142 of file QGPulseParametersFrame.hh.

Referenced by IsUseADCUnitsSet(), QGPulseParametersFrame(), and SetUseADCUnits().

◆ fZeroOffsetBox

TGCheckButton* QGPulseParametersFrame::fZeroOffsetBox
private

ZeroOffset check box.

Definition at line 148 of file QGPulseParametersFrame.hh.

Referenced by IsZeroOffsetSet(), QGPulseParametersFrame(), and SetZeroOffset().


The documentation for this class was generated from the following files: