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

Part of a scatter plot edit window for inputting parameters. More...

Inheritance diagram for QGScatterPlotParametersFrame:

Public Member Functions

 QGScatterPlotParametersFrame (QGScatterPlotEditWindow *p=0, UInt_t w=100, UInt_t h=100)
 Constructor. More...
 
virtual ~QGScatterPlotParametersFrame ()
 Destructor. More...
 
QGDropDownBoxGetXDropDownBox ()
 Get pointer to x-axis variable drop down box. More...
 
std::string GetXUnits ()
 Get x-axis units. More...
 
std::string GetXVariable ()
 Get x-axis variable. More...
 
QGDropDownBoxGetYDropDownBox ()
 Get pointer to y-axis variable drop down box. More...
 
std::string GetYUnits ()
 Get y-axis units. More...
 
std::string GetYVariable ()
 Get y-axis variable. More...
 
bool IsSuperimposeSet ()
 Handle event in x-axis units box. More...
 
void SetSuperimpose (bool flag=true)
 Set whether the superimpose box is checked. 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...
 
void SetYUnits (const std::string &units)
 Set the y-axis units. More...
 
void SetYVariable (const std::string &y)
 Set the y-axis variable. More...
 

Private Attributes

QGScatterPlotEditWindowfScatterPlotEditWindow
 Pointer to parent scatter plot edit window. More...
 
TGCheckButton * fSuperimposeBox
 Superimpose check box. More...
 
QGDropDownBoxfXDropDownBox
 x-axis variable drop down box More...
 
TGHorizontalFrame * fXFrame
 Horizontal frame for x-axis variable. More...
 
TGLabel * fXLabel
 X label. More...
 
QGTextEntryfXUnitsBox
 x-axis units box More...
 
QGDropDownBoxfYDropDownBox
 y-axis variable drop down box More...
 
TGHorizontalFrame * fYFrame
 Horizontal frame for y-axis variable. More...
 
TGLabel * fYLabel
 Y label. More...
 
QGTextEntryfYUnitsBox
 y-axis units box More...
 

Detailed Description

Part of a scatter plot 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 20 of file QGScatterPlotParametersFrame.hh.

Constructor & Destructor Documentation

◆ QGScatterPlotParametersFrame()

QGScatterPlotParametersFrame::QGScatterPlotParametersFrame ( QGScatterPlotEditWindow p = 0,
UInt_t  w = 100,
UInt_t  h = 100 
)

◆ ~QGScatterPlotParametersFrame()

QGScatterPlotParametersFrame::~QGScatterPlotParametersFrame ( )
virtual

Destructor.

Definition at line 68 of file QGScatterPlotParametersFrame.cc.

Member Function Documentation

◆ GetXDropDownBox()

QGDropDownBox* QGScatterPlotParametersFrame::GetXDropDownBox ( )
inline

Get pointer to x-axis variable drop down box.

Definition at line 29 of file QGScatterPlotParametersFrame.hh.

References fXDropDownBox.

Referenced by QGScatterPlotEditWindow::FillVariablesDropDownBoxes().

◆ GetXUnits()

string QGScatterPlotParametersFrame::GetXUnits ( )

Get x-axis units.

Definition at line 73 of file QGScatterPlotParametersFrame.cc.

References fXUnitsBox.

◆ GetXVariable()

string QGScatterPlotParametersFrame::GetXVariable ( )

Get x-axis variable.

Definition at line 78 of file QGScatterPlotParametersFrame.cc.

References fXDropDownBox.

Referenced by QGScatterPlotEditWindow::FillVariablesDropDownBoxes().

◆ GetYDropDownBox()

QGDropDownBox* QGScatterPlotParametersFrame::GetYDropDownBox ( )
inline

Get pointer to y-axis variable drop down box.

Definition at line 38 of file QGScatterPlotParametersFrame.hh.

References fYDropDownBox.

Referenced by QGScatterPlotEditWindow::FillVariablesDropDownBoxes().

◆ GetYUnits()

string QGScatterPlotParametersFrame::GetYUnits ( )

Get y-axis units.

Definition at line 83 of file QGScatterPlotParametersFrame.cc.

References fYUnitsBox.

◆ GetYVariable()

string QGScatterPlotParametersFrame::GetYVariable ( )

Get y-axis variable.

Definition at line 88 of file QGScatterPlotParametersFrame.cc.

References fYDropDownBox.

Referenced by QGScatterPlotEditWindow::FillVariablesDropDownBoxes().

◆ IsSuperimposeSet()

bool QGScatterPlotParametersFrame::IsSuperimposeSet ( )

Handle event in x-axis units box.

Handle event in x-axis variable box

Handle event in y-axis units box

Handle event in y-axis variable box

Return true if superimpose box is checked

Definition at line 93 of file QGScatterPlotParametersFrame.cc.

References fSuperimposeBox.

◆ SetSuperimpose()

void QGScatterPlotParametersFrame::SetSuperimpose ( bool  flag = true)

Set whether the superimpose box is checked.

Definition at line 98 of file QGScatterPlotParametersFrame.cc.

References fSuperimposeBox.

Referenced by QGScatterPlotEditWindow::SetPlot().

◆ SetXUnits()

void QGScatterPlotParametersFrame::SetXUnits ( const std::string &  units)

Set the x-axis units.

Definition at line 107 of file QGScatterPlotParametersFrame.cc.

References fXUnitsBox.

Referenced by QGScatterPlotEditWindow::SetPlot().

◆ SetXVariable()

void QGScatterPlotParametersFrame::SetXVariable ( const std::string &  x)

Set the x-axis variable.

Definition at line 112 of file QGScatterPlotParametersFrame.cc.

References fXDropDownBox.

Referenced by QGScatterPlotEditWindow::FillVariablesDropDownBoxes(), and QGScatterPlotEditWindow::SetPlot().

◆ SetYUnits()

void QGScatterPlotParametersFrame::SetYUnits ( const std::string &  units)

Set the y-axis units.

Definition at line 117 of file QGScatterPlotParametersFrame.cc.

References fYUnitsBox.

Referenced by QGScatterPlotEditWindow::SetPlot().

◆ SetYVariable()

void QGScatterPlotParametersFrame::SetYVariable ( const std::string &  y)

Set the y-axis variable.

Definition at line 122 of file QGScatterPlotParametersFrame.cc.

References fYDropDownBox.

Referenced by QGScatterPlotEditWindow::FillVariablesDropDownBoxes(), and QGScatterPlotEditWindow::SetPlot().

Member Data Documentation

◆ fScatterPlotEditWindow

QGScatterPlotEditWindow* QGScatterPlotParametersFrame::fScatterPlotEditWindow
private

Pointer to parent scatter plot edit window.

Definition at line 78 of file QGScatterPlotParametersFrame.hh.

◆ fSuperimposeBox

TGCheckButton* QGScatterPlotParametersFrame::fSuperimposeBox
private

Superimpose check box.

Definition at line 81 of file QGScatterPlotParametersFrame.hh.

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

◆ fXDropDownBox

QGDropDownBox* QGScatterPlotParametersFrame::fXDropDownBox
private

x-axis variable drop down box

Definition at line 84 of file QGScatterPlotParametersFrame.hh.

Referenced by GetXDropDownBox(), GetXVariable(), QGScatterPlotParametersFrame(), and SetXVariable().

◆ fXFrame

TGHorizontalFrame* QGScatterPlotParametersFrame::fXFrame
private

Horizontal frame for x-axis variable.

Definition at line 87 of file QGScatterPlotParametersFrame.hh.

Referenced by QGScatterPlotParametersFrame().

◆ fXLabel

TGLabel* QGScatterPlotParametersFrame::fXLabel
private

X label.

Definition at line 90 of file QGScatterPlotParametersFrame.hh.

Referenced by QGScatterPlotParametersFrame().

◆ fXUnitsBox

QGTextEntry* QGScatterPlotParametersFrame::fXUnitsBox
private

x-axis units box

Definition at line 93 of file QGScatterPlotParametersFrame.hh.

Referenced by GetXUnits(), QGScatterPlotParametersFrame(), and SetXUnits().

◆ fYDropDownBox

QGDropDownBox* QGScatterPlotParametersFrame::fYDropDownBox
private

y-axis variable drop down box

Definition at line 96 of file QGScatterPlotParametersFrame.hh.

Referenced by GetYDropDownBox(), GetYVariable(), QGScatterPlotParametersFrame(), and SetYVariable().

◆ fYFrame

TGHorizontalFrame* QGScatterPlotParametersFrame::fYFrame
private

Horizontal frame for y-axis variable.

Definition at line 99 of file QGScatterPlotParametersFrame.hh.

Referenced by QGScatterPlotParametersFrame().

◆ fYLabel

TGLabel* QGScatterPlotParametersFrame::fYLabel
private

Y label.

Definition at line 102 of file QGScatterPlotParametersFrame.hh.

Referenced by QGScatterPlotParametersFrame().

◆ fYUnitsBox

QGTextEntry* QGScatterPlotParametersFrame::fYUnitsBox
private

y-axis units box

Definition at line 105 of file QGScatterPlotParametersFrame.hh.

Referenced by GetYUnits(), QGScatterPlotParametersFrame(), and SetYUnits().


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