ScalarIntervalWidget Class Reference

#include <IntervalWidgets.h>

List of all members.

Public Slots

void expand_collapse ()
void updateStartEnd ()
void updateStartCentre ()
void updateStartLength ()
void updateEndCentre ()
void updateEndLength ()
void updateCentreLength ()
void updateSelection ()
void updateFields ()
void startFocus ()
void endFocus ()
void centreFocus ()
void lengthFocus ()
void updateAllFields ()

Signals

void intervalUpdated ()

Public Member Functions

 ScalarIntervalWidget (QWidget *parent=NULL)
 ~ScalarIntervalWidget ()
double getStart () const
double getEnd () const
double getLength () const
void setStart (const double start)
void setEnd (const double end)
void setInterval (double start, double end, bool setViewRangeToo=true)
void setViewRange (double start, double end)
void setAvailabilityRange (double start, double end)
void resetView ()
void expand ()
void collapse ()
bool hasFocus () const
void setAltPalette (bool alt)
void setBarString (const QString &s)

Protected Member Functions

void updateDisplay ()

Protected Attributes

int current
int previous
QguWLinputfromWidget
QguWLinputtoWidget
QLabel * centreLabel
QguWLinputcentreWidget
QLabel * lengthLabel
QguWLinputlengthWidget
double currentStart
double currentEnd
ScalarIntervalSliderslider
bool altPalette


Constructor & Destructor Documentation

ScalarIntervalWidget::ScalarIntervalWidget ( QWidget *  parent = NULL  ) 

ScalarIntervalWidget::~ScalarIntervalWidget (  ) 


Member Function Documentation

void ScalarIntervalWidget::centreFocus (  )  [slot]

void ScalarIntervalWidget::collapse (  ) 

void ScalarIntervalWidget::endFocus (  )  [slot]

void ScalarIntervalWidget::expand (  ) 

void ScalarIntervalWidget::expand_collapse (  )  [slot]

double ScalarIntervalWidget::getEnd (  )  const

double ScalarIntervalWidget::getLength (  )  const

double ScalarIntervalWidget::getStart (  )  const

bool ScalarIntervalWidget::hasFocus (  )  const

void ScalarIntervalWidget::intervalUpdated (  )  [signal]

void ScalarIntervalWidget::lengthFocus (  )  [slot]

void ScalarIntervalWidget::resetView (  )  [inline]

void ScalarIntervalWidget::setAltPalette ( bool  alt  ) 

void ScalarIntervalWidget::setAvailabilityRange ( double  start,
double  end 
)

void ScalarIntervalWidget::setBarString ( const QString &  s  )  [inline]

void ScalarIntervalWidget::setEnd ( const double  end  ) 

void ScalarIntervalWidget::setInterval ( double  start,
double  end,
bool  setViewRangeToo = true 
)

void ScalarIntervalWidget::setStart ( const double  start  ) 

void ScalarIntervalWidget::setViewRange ( double  start,
double  end 
)

void ScalarIntervalWidget::startFocus (  )  [slot]

void ScalarIntervalWidget::updateAllFields (  )  [slot]

void ScalarIntervalWidget::updateCentreLength (  )  [slot]

void ScalarIntervalWidget::updateDisplay (  )  [protected]

void ScalarIntervalWidget::updateEndCentre (  )  [slot]

void ScalarIntervalWidget::updateEndLength (  )  [slot]

void ScalarIntervalWidget::updateFields (  )  [slot]

void ScalarIntervalWidget::updateSelection (  )  [slot]

void ScalarIntervalWidget::updateStartCentre (  )  [slot]

void ScalarIntervalWidget::updateStartEnd (  )  [slot]

void ScalarIntervalWidget::updateStartLength (  )  [slot]


Member Data Documentation

QLabel* ScalarIntervalWidget::centreLabel [protected]

QLabel* ScalarIntervalWidget::lengthLabel [protected]


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

Generated on Fri Jan 8 12:51:29 2010 for QSAS by  doxygen 1.5.7