Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TimelineWidget Class Reference

widget for displaying a timeline for events. More...

#include <cxTimelineWidget.h>

Inheritance diagram for cx::TimelineWidget:

Signals

void positionChanged ()
 

Public Member Functions

 TimelineWidget (QWidget *parent)
 
virtual ~TimelineWidget ()
 
void setEvents (std::vector< TimelineEvent > events)
 
void setRange (double start, double stop)
 
void setPos (double pos)
 
double getPos () const
 

Protected Member Functions

virtual bool event (QEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void resizeEvent (QResizeEvent *evt)
 Reimplemented from superclass. More...
 
virtual void paintEvent (QPaintEvent *event)
 Reimplemented from superclass. Paints the transferfunction GUI. More...
 
virtual QSize sizeHint () const
 
QSize minimumSizeHint () const
 

Detailed Description

widget for displaying a timeline for events.

The point is to display periods of time where tools are visible in a different color than the visible periods. Also other events like registration, data load.

Date
Mar 29, 2012
Author
Christian Askeland, SINTEF

Definition at line 59 of file cxTimelineWidget.h.

Constructor & Destructor Documentation

cx::TimelineWidget::TimelineWidget ( QWidget *  parent)

Definition at line 48 of file cxTimelineWidget.cpp.

cx::TimelineWidget::~TimelineWidget ( )
virtual

Definition at line 66 of file cxTimelineWidget.cpp.

Member Function Documentation

bool cx::TimelineWidget::event ( QEvent *  event)
protectedvirtual

Definition at line 399 of file cxTimelineWidget.cpp.

double cx::TimelineWidget::getPos ( ) const

Definition at line 78 of file cxTimelineWidget.cpp.

QSize cx::TimelineWidget::minimumSizeHint ( ) const
protected

Definition at line 467 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 444 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 385 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 394 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

Reimplemented from superclass. Paints the transferfunction GUI.

Definition at line 258 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::positionChanged ( )
signal
void cx::TimelineWidget::resizeEvent ( QResizeEvent *  evt)
protectedvirtual

Reimplemented from superclass.

Definition at line 369 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::setEvents ( std::vector< TimelineEvent events)

Definition at line 206 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::setPos ( double  pos)

Definition at line 71 of file cxTimelineWidget.cpp.

void cx::TimelineWidget::setRange ( double  start,
double  stop 
)

Definition at line 231 of file cxTimelineWidget.cpp.

QSize cx::TimelineWidget::sizeHint ( ) const
protectedvirtual

Definition at line 462 of file cxTimelineWidget.cpp.


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