Public Slots | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
MAKLogger::DtTimelineBar Class Reference

A time line bar which is zoom able and drawable current time marker. More...

+ Inheritance diagram for MAKLogger::DtTimelineBar:
+ Collaboration diagram for MAKLogger::DtTimelineBar:

List of all members.

Public Slots

void setStartStopTimePercentages (float, float)
void testForUpdate ()
 Slot used to test to see if an update should be performed.

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

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
DtValueSmoothermyValueSmoother
DtLgrGuiModelmyModel

Detailed Description

A time line bar which is zoom able and drawable current time marker.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)