TimeIntervalWidget Class Reference

#include <IntervalWidgets.h>

List of all members.

Public Slots

void expand_collapse ()
void expand_collapse_slider ()
void expand_collapse_fields ()
void updateStartEnd ()
void updateStartCentre ()
void updateStartDuration ()
void updateEndCentre ()
void updateEndDuration ()
void updateCentreDuration ()
void updateSelection ()
void updateFields ()
void startFocus ()
void endFocus ()
void centreFocus ()
void durationFocus ()
void dropEvent (QDropEvent *event)
void dragEnterEvent (QDragEnterEvent *event)
void updateAllFields ()
void appendIntervalSlot ()
void changeEventSlot ()
void changeIntervalSlot ()
void saveInterval ()
void saveEventTable ()
void nextEvent ()
void previousEvent ()

Signals

void intervalUpdated ()

Public Member Functions

 TimeIntervalWidget (QWidget *parent=NULL)
 ~TimeIntervalWidget ()
QmjdTime getStart () const
QmjdTime getEnd () const
double getDuration () const
QmjdTimeInterval getInterval () const
void setStart (const QmjdTime &start)
void setEnd (const QmjdTime &end)
void setInterval (const QmjdTime &start, const QmjdTime &end, bool setViewRangeToo=true)
void setInterval (const QmjdTimeInterval &interval, bool setViewRangeToo=true)
void setInterval (const QdObject_var &obj, bool setViewRangeToo=true)
void clearEventTable ()
void setEventTable (const QdTimeIntervalSeq &et)
QdTimeIntervalSeq getEventTable () const
void setAvailabilityRange (const QmjdTime &start, const QmjdTime &end)
void setAvailabilityRange (const QmjdTimeInterval &interval)
void setViewRange (const QmjdTimeInterval &tintv)
QmjdTimeInterval getViewRange () const
void setBarString (const QString &s)
void resetView ()
void expand ()
void collapse ()
void setAltPalette (bool alt)
bool hasFocus () const

Protected Member Functions

void updateDisplay ()

Protected Attributes

int current
int previous
QbDateTimeWidgetfromWidget
QbDateTimeWidgettoWidget
QLabel * centreLabel
QbDateTimeWidgetcentreWidget
QLabel * durationLabel
QbDurationWidgetdurationWidget
TimeSliderslider
QmjdTimeInterval currentInterval
QdTimeIntervalSeq events
QPushButton * previousEventButton
QPushButton * nextEventButton


Constructor & Destructor Documentation

TimeIntervalWidget::TimeIntervalWidget ( QWidget *  parent = NULL  ) 

TimeIntervalWidget::~TimeIntervalWidget (  ) 


Member Function Documentation

void TimeIntervalWidget::appendIntervalSlot (  )  [slot]

void TimeIntervalWidget::centreFocus (  )  [slot]

void TimeIntervalWidget::changeEventSlot (  )  [slot]

void TimeIntervalWidget::changeIntervalSlot (  )  [slot]

void TimeIntervalWidget::clearEventTable (  ) 

void TimeIntervalWidget::collapse (  ) 

void TimeIntervalWidget::dragEnterEvent ( QDragEnterEvent *  event  )  [slot]

void TimeIntervalWidget::dropEvent ( QDropEvent *  event  )  [slot]

void TimeIntervalWidget::durationFocus (  )  [slot]

void TimeIntervalWidget::endFocus (  )  [slot]

void TimeIntervalWidget::expand (  ) 

void TimeIntervalWidget::expand_collapse (  )  [slot]

void TimeIntervalWidget::expand_collapse_fields (  )  [slot]

void TimeIntervalWidget::expand_collapse_slider (  )  [slot]

double TimeIntervalWidget::getDuration (  )  const

QmjdTime TimeIntervalWidget::getEnd (  )  const

QdTimeIntervalSeq TimeIntervalWidget::getEventTable (  )  const

QmjdTimeInterval TimeIntervalWidget::getInterval (  )  const

QmjdTime TimeIntervalWidget::getStart (  )  const

QmjdTimeInterval TimeIntervalWidget::getViewRange (  )  const

bool TimeIntervalWidget::hasFocus (  )  const

void TimeIntervalWidget::intervalUpdated (  )  [signal]

void TimeIntervalWidget::nextEvent (  )  [slot]

void TimeIntervalWidget::previousEvent (  )  [slot]

void TimeIntervalWidget::resetView (  ) 

void TimeIntervalWidget::saveEventTable (  )  [slot]

void TimeIntervalWidget::saveInterval (  )  [slot]

void TimeIntervalWidget::setAltPalette ( bool  alt  ) 

void TimeIntervalWidget::setAvailabilityRange ( const QmjdTimeInterval interval  ) 

void TimeIntervalWidget::setAvailabilityRange ( const QmjdTime start,
const QmjdTime end 
)

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

void TimeIntervalWidget::setEnd ( const QmjdTime end  ) 

void TimeIntervalWidget::setEventTable ( const QdTimeIntervalSeq et  ) 

void TimeIntervalWidget::setInterval ( const QdObject_var obj,
bool  setViewRangeToo = true 
)

void TimeIntervalWidget::setInterval ( const QmjdTimeInterval interval,
bool  setViewRangeToo = true 
)

void TimeIntervalWidget::setInterval ( const QmjdTime start,
const QmjdTime end,
bool  setViewRangeToo = true 
)

void TimeIntervalWidget::setStart ( const QmjdTime start  ) 

void TimeIntervalWidget::setViewRange ( const QmjdTimeInterval tintv  ) 

void TimeIntervalWidget::startFocus (  )  [slot]

void TimeIntervalWidget::updateAllFields (  )  [slot]

void TimeIntervalWidget::updateCentreDuration (  )  [slot]

void TimeIntervalWidget::updateDisplay (  )  [protected]

void TimeIntervalWidget::updateEndCentre (  )  [slot]

void TimeIntervalWidget::updateEndDuration (  )  [slot]

void TimeIntervalWidget::updateFields (  )  [slot]

void TimeIntervalWidget::updateSelection (  )  [slot]

void TimeIntervalWidget::updateStartCentre (  )  [slot]

void TimeIntervalWidget::updateStartDuration (  )  [slot]

void TimeIntervalWidget::updateStartEnd (  )  [slot]


Member Data Documentation

QLabel* TimeIntervalWidget::centreLabel [protected]

int TimeIntervalWidget::current [protected]

QLabel* TimeIntervalWidget::durationLabel [protected]

QPushButton* TimeIntervalWidget::nextEventButton [protected]

QPushButton* TimeIntervalWidget::previousEventButton [protected]


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

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