CustusX
16.5.0-rc9
An IGT application
|
widget for displaying a timeline for events. More...
#include <cxTimelineWidget.h>
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 |
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.
Definition at line 59 of file cxTimelineWidget.h.
cx::TimelineWidget::TimelineWidget | ( | QWidget * | parent | ) |
Definition at line 48 of file cxTimelineWidget.cpp.
|
virtual |
Definition at line 66 of file cxTimelineWidget.cpp.
|
protectedvirtual |
Definition at line 399 of file cxTimelineWidget.cpp.
double cx::TimelineWidget::getPos | ( | ) | const |
Definition at line 78 of file cxTimelineWidget.cpp.
|
protected |
Definition at line 467 of file cxTimelineWidget.cpp.
|
protectedvirtual |
Definition at line 444 of file cxTimelineWidget.cpp.
|
protectedvirtual |
Definition at line 385 of file cxTimelineWidget.cpp.
|
protectedvirtual |
Definition at line 394 of file cxTimelineWidget.cpp.
|
protectedvirtual |
Reimplemented from superclass. Paints the transferfunction GUI.
Definition at line 258 of file cxTimelineWidget.cpp.
|
signal |
|
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.
|
protectedvirtual |
Definition at line 462 of file cxTimelineWidget.cpp.