![]() |
MAK Data Logger API Documentation for HLA
|
A time line bar which is zoom able and drawable current time marker. More...
Inheritance diagram for MAKLogger::DtTimelineBar:
Collaboration diagram for MAKLogger::DtTimelineBar:Public Slots | |
| void | setStartStopTimePercentages (float, float) |
| void | testForUpdate () |
| Slot used to test to see if an update should be performed. | |
Public Slots inherited from MAKLogger::DtLgrZoomableWidget | |
| virtual void | setOffsets (float left, float right) |
| virtual void | testForUpdate (DtLgrGuiModel &model) |
Public Member Functions | |
| DtTimelineBar (DtLgrGuiModel &model, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtTimelineBar () |
| DTOR. | |
| DtAbsoluteTime | firstTime () const |
| DtAbsoluteTime | lastTime () const |
| DtAbsoluteTime | currentTime () const |
| DtAbsoluteTime | startTime () const |
| DtAbsoluteTime | stopTime () const |
| DtRelativeTime | duration () const |
| DtRelativeTime | playDuration () const |
| int | verticalMargin () const |
Public Member Functions inherited from MAKLogger::DtLgrZoomableWidget | |
| DtLgrZoomableWidget (QWidget *parent) | |
| CTOR. | |
| virtual | ~DtLgrZoomableWidget () |
| DTOR. | |
| QRectF | scaledViewport (QRect orignalViewport, QPoint margins) const |
| Scale a viewport using the scaled settings and the provided margins. | |
| void | drawCursor (QPainter &painter, double firstVisibleTime, double lastVisibleTime, double cursorTime, int xOffset, bool active) |
| Draw A cursor. | |
| QRect | cursorBounds (double firstVisibleTime, double lastVisibleTime, double cursorTime, int xOffset) |
| Get the cursor bounds. | |
| double | firstVisibleTime (double firstTime, double lastTime) const |
| Get the first visible time, based upon the scale. | |
| double | firstVisibleTime (DtLgrGuiModel &model) const |
| Get the first visible time via the models display time. | |
| double | lastVisibleTime (double firstTime, double lastTime) const |
| Get the last visible time, based upon the scale. | |
| double | lastVisibleTime (DtLgrGuiModel &model) const |
| Get the last visible time via the models display time. | |
| float | leftOffset () const |
| Get the left offset (percent 0-100.0), inline for performance reasons. | |
| float | rightOffset () const |
| Get the right offset (percent 0-100.0), inline for performance reasons. | |
| float | horizontalMargin () const |
| get the horizontal margin. | |
| void | setHorizontalMargin (float margin) |
| set the horizontal margin. | |
| void | setDrawTimes (DtLgrGuiModel &model) |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *) |
| virtual void | mouseReleaseEvent (QMouseEvent *) |
| virtual void | mouseMoveEvent (QMouseEvent *) |
| virtual void | mousePressEvent (QMouseEvent *) |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | contextMenuEvent (QContextMenuEvent *) |
| virtual void | updateCurrentTime (QPoint) |
| void | draw (QPainter &painter, const QRect &boundingRect) |
| void | drawTicks (QPainter &painter, double, double) |
| void | drawBackground (QPainter &painter, double, double) |
Static Protected Member Functions | |
| static DtRelativeTime | textTickSize (DtRelativeTime duration) |
Protected Attributes | |
| double | myDrawnCurrentTime |
| double | myDrawnStartTime |
| double | myDrawnStopTime |
| double | myDrawnFirstVisibleTime |
| double | myDrawnLastVisibleTime |
| int | myHorizontalMargin |
| int | myVerticalMargin |
| DtAbsoluteTime | myOnSelectionCurrentTime |
| bool | myUpdateTimeFlag |
| bool | mySelectingArea |
| DtValueSmoother * | myValueSmoother |
| DtLgrGuiModel * | myModel |
Protected Attributes inherited from MAKLogger::DtLgrZoomableWidget | |
| float | myLeftOffset |
| float | myRightOffset |
| float | myHorizontalMargin |
| double | myDrawnFirstVisibleTime |
| double | myDrawnLastVisibleTime |
| double | myDrawnCurrentVisibleTime |
Additional Inherited Members | |
Signals inherited from MAKLogger::DtLgrZoomableWidget | |
| void | offsetsChanged (float left, float right) |
A time line bar which is zoom able and drawable current time marker.
| MAKLogger::DtTimelineBar::DtTimelineBar | ( | DtLgrGuiModel & | model, |
| QWidget * | parent | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
| DtAbsoluteTime MAKLogger::DtTimelineBar::currentTime | ( | ) | const |
|
protected |
|
protected |
|
protected |
| DtRelativeTime MAKLogger::DtTimelineBar::duration | ( | ) | const |
| DtAbsoluteTime MAKLogger::DtTimelineBar::firstTime | ( | ) | const |
|
protectedvirtual |
| DtAbsoluteTime MAKLogger::DtTimelineBar::lastTime | ( | ) | const |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| DtRelativeTime MAKLogger::DtTimelineBar::playDuration | ( | ) | const |
|
slot |
| DtAbsoluteTime MAKLogger::DtTimelineBar::startTime | ( | ) | const |
| DtAbsoluteTime MAKLogger::DtTimelineBar::stopTime | ( | ) | const |
|
slot |
Slot used to test to see if an update should be performed.
|
staticprotected |
|
protectedvirtual |
| int MAKLogger::DtTimelineBar::verticalMargin | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |