Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes

ThresholdForm Class Reference

This class represents the threshold form. More...

#include <ThresholdForm.h>

Collaboration diagram for ThresholdForm:
Collaboration graph
[legend]

List of all members.

Public Slots

void updateUpperValue (double value)
 Re-emits upper value changed signal to outside world.
void updateLowerValue (double value)
 Re-emits lower value changed signal to outside world.

Signals

void upperValueChanged (double)
 Send signal when upper threshold value changes.
void lowerValueChanged (double)
 Send signal when lower threshold value changes.

Public Member Functions

 ThresholdForm (QWidget *parent=0, Qt::Orientation orientation=Qt::Horizontal, QwtSlider::ScalePos scalePos=QwtSlider::NoScale, QwtSlider::BGSTYLE bgStyle=QwtSlider::BgTrough)
virtual ~ThresholdForm ()
void setUpperValue (double value)
void setLowerValue (double value)
void setMax (double max)
void setMin (double min)
void setStep (double interval)
void setNoOfMajorTicks (int ticks)
void setNoOfMinorTicks (int ticks)
double getUpperValue ()
double getLowerValue ()

Protected Member Functions

void updateScales ()
void createConnections ()

Protected Attributes

Ui::Threshold ui
double maxValue
double minValue
double stepValue
bool scaleDrawn
bool usingTicks

Detailed Description

This class represents the threshold form.

It has two sliders to ask the user the threshold levels for the display of data. EXPERIMENTAL

Definition at line 13 of file ThresholdForm.h.


Constructor & Destructor Documentation

ThresholdForm::ThresholdForm ( QWidget *  parent = 0,
Qt::Orientation  orientation = Qt::Horizontal,
QwtSlider::ScalePos  scalePos = QwtSlider::NoScale,
QwtSlider::BGSTYLE  bgStyle = QwtSlider::BgTrough 
)

Definition at line 3 of file ThresholdForm.cpp.

ThresholdForm::~ThresholdForm (  )  [virtual]

Definition at line 30 of file ThresholdForm.cpp.


Member Function Documentation

void ThresholdForm::createConnections (  )  [protected]

Definition at line 117 of file ThresholdForm.cpp.

double ThresholdForm::getLowerValue (  )  [inline]

Definition at line 34 of file ThresholdForm.h.

double ThresholdForm::getUpperValue (  )  [inline]

Definition at line 32 of file ThresholdForm.h.

ThresholdForm::lowerValueChanged ( double  _t1  )  [signal]

Send signal when lower threshold value changes.

Definition at line 99 of file moc_ThresholdForm.cpp.

void ThresholdForm::setLowerValue ( double  value  )  [inline]

Definition at line 24 of file ThresholdForm.h.

void ThresholdForm::setMax ( double  max  ) 

Definition at line 35 of file ThresholdForm.cpp.

void ThresholdForm::setMin ( double  min  ) 

Definition at line 49 of file ThresholdForm.cpp.

void ThresholdForm::setNoOfMajorTicks ( int  ticks  ) 

Definition at line 78 of file ThresholdForm.cpp.

void ThresholdForm::setNoOfMinorTicks ( int  ticks  ) 

Definition at line 85 of file ThresholdForm.cpp.

void ThresholdForm::setStep ( double  interval  ) 

Definition at line 63 of file ThresholdForm.cpp.

void ThresholdForm::setUpperValue ( double  value  )  [inline]

Definition at line 22 of file ThresholdForm.h.

ThresholdForm::updateLowerValue ( double  value  )  [slot]

Re-emits lower value changed signal to outside world.

Definition at line 98 of file ThresholdForm.cpp.

void ThresholdForm::updateScales (  )  [protected]

Definition at line 103 of file ThresholdForm.cpp.

ThresholdForm::updateUpperValue ( double  value  )  [slot]

Re-emits upper value changed signal to outside world.

Definition at line 93 of file ThresholdForm.cpp.

ThresholdForm::upperValueChanged ( double  _t1  )  [signal]

Send signal when upper threshold value changes.

Definition at line 92 of file moc_ThresholdForm.cpp.


Member Data Documentation

double ThresholdForm::maxValue [protected]

Definition at line 64 of file ThresholdForm.h.

double ThresholdForm::minValue [protected]

Definition at line 65 of file ThresholdForm.h.

bool ThresholdForm::scaleDrawn [protected]

Definition at line 67 of file ThresholdForm.h.

double ThresholdForm::stepValue [protected]

Definition at line 66 of file ThresholdForm.h.

Definition at line 62 of file ThresholdForm.h.

bool ThresholdForm::usingTicks [protected]

Definition at line 68 of file ThresholdForm.h.


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