LogPlayView Class Reference

View for the timeline. More...

#include <LogPlayWidget.hh>

Inherits QGraphicsView.

Public Slots

void DrawTimeline ()
 Draw the timeline. More...
 
void SetCurrentTime (const common::Time &_time)
 Set the position of the current time item. More...
 
void SetEndTime (const common::Time &_time)
 Set the log end time. More...
 
void SetStartTime (const common::Time &_time)
 Set the log start time. More...
 

Signals

void Seek (const common::Time &_time)
 Qt signal used to seek. More...
 

Public Member Functions

 LogPlayView (LogPlayWidget *_parent=0)
 Constructor;. More...
 

Protected Member Functions

void mouseMoveEvent (QMouseEvent *_event)
 
void mousePressEvent (QMouseEvent *_event)
 
void mouseReleaseEvent (QMouseEvent *_event)
 

Detailed Description

View for the timeline.

Constructor & Destructor Documentation

LogPlayView ( LogPlayWidget _parent = 0)
explicit

Constructor;.

Parameters
[in]_parentParent widget.

Member Function Documentation

void DrawTimeline ( )
slot

Draw the timeline.

void mouseMoveEvent ( QMouseEvent *  _event)
protected
void mousePressEvent ( QMouseEvent *  _event)
protected
void mouseReleaseEvent ( QMouseEvent *  _event)
protected
void Seek ( const common::Time _time)
signal

Qt signal used to seek.

Parameters
[in]_timeTime to jump to.
void SetCurrentTime ( const common::Time _time)
slot

Set the position of the current time item.

Parameters
[in]_timeCurrent time.
void SetEndTime ( const common::Time _time)
slot

Set the log end time.

Parameters
[in]_timeEnd time.
void SetStartTime ( const common::Time _time)
slot

Set the log start time.

Parameters
[in]_timeStart time.

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