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()

LogPlayView ( LogPlayWidget _parent = 0)
explicit

Constructor;.

Parameters
[in]_parentParent widget.

Member Function Documentation

◆ DrawTimeline

void DrawTimeline ( )
slot

Draw the timeline.

◆ mouseMoveEvent()

void mouseMoveEvent ( QMouseEvent *  _event)
protected

◆ mousePressEvent()

void mousePressEvent ( QMouseEvent *  _event)
protected

◆ mouseReleaseEvent()

void mouseReleaseEvent ( QMouseEvent *  _event)
protected

◆ Seek

void Seek ( const common::Time _time)
signal

Qt signal used to seek.

Parameters
[in]_timeTime to jump to.

◆ SetCurrentTime

void SetCurrentTime ( const common::Time _time)
slot

Set the position of the current time item.

Parameters
[in]_timeCurrent time.

◆ SetEndTime

void SetEndTime ( const common::Time _time)
slot

Set the log end time.

Parameters
[in]_timeEnd time.

◆ SetStartTime

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: