19 #include <QElapsedTimer>
23 class DtValueSmoother;
25 class DtLgrTimelineWindowSliderBar;
32 Q_PROPERTY(QColor InitialFill MEMBER myInitialFill USER
true)
33 Q_PROPERTY(QColor OuterColor MEMBER myOuterColor USER true)
34 Q_PROPERTY(QColor InnerColor MEMBER myInnerColor USER true)
35 Q_PROPERTY(QColor TickColor MEMBER myTickColor USER true)
44 virtual
void reverseTicks(
bool reverse);
55 virtual
int verticalMargin() const;
61 virtual
void enableZoomBox(
bool enable);
65 virtual
void setEmptyText(const QString& emptyText);
69 virtual
void setStartStopTimePercentages(
float,
float);
72 virtual
void testForUpdate();
74 virtual
void drawZoomBox();
76 virtual
void resizeZoomBox(
int delta);
78 virtual
void resizeEvent(QResizeEvent *qre);
84 void drawnTimesChanged(
float);
90 virtual
void paintEvent( QPaintEvent* );
91 virtual
void mouseReleaseEvent(QMouseEvent*);
92 virtual
void mouseMoveEvent( QMouseEvent* );
93 virtual
void mousePressEvent( QMouseEvent* );
94 virtual
void keyPressEvent( QKeyEvent* );
95 virtual
void wheelEvent(QWheelEvent *event);
96 virtual
void contextMenuEvent(QContextMenuEvent * );
97 virtual
void updateCurrentTime(QPoint);
99 virtual
void draw(QPainter& painter,const QRect& boundingRect);
100 virtual
void drawBox(QPainter& painter,
DtSliderBox* box) const;
101 virtual
void drawTicks(QPainter& painter,
double,
double);
102 virtual
void drawBackground(QPainter& painter,
double ,
double );
106 double myDrawnCurrentTime;
107 double myDrawnStartTime;
108 double myDrawnStopTime;
109 double myDrawnFirstVisibleTime;
110 double myDrawnLastVisibleTime;
111 int myHorizontalMargin;
112 int myVerticalMargin;
115 bool myUpdateTimeFlag;
116 bool mySelectingArea;
119 bool myPendingTimeUpdate;
120 QElapsedTimer myJumpThrottle;
128 float myLeftViewableOffset;
129 float myRightViewableOffset;
133 QColor myInitialFill;
A slider which allows multiple boxes that can overlap.
Definition: overlapSlider.h:27
Class responsible for smoothing multiple input values and calculating an interpolated 'next' value...
Definition: qtFloatMath.h:27
Used to manage a bar between a start and an end of a slider bar.
Definition: sliderBar.h:25
Represents a slider bar on the full time line to indicate the time window displayed in the partial ti...
Definition: lgrTimelineWindowSliderBar.h:22
Relative Time, an elapsed duration of time, no implied measurement, could be seconds/cycles or ticks ...
Definition: absoluteTime.h:28
A time line bar which is zoom able and drawable current time marker.
Definition: timeBar.h:29
Represents a box within a slider.
Definition: sliderBox.h:27
The logger GUI's model.
Definition: lgrGuiModel.h:56
Contains MAKLogger::DtOverlapSlider subclass of MAKLogger::DtZoomComponent and MAKLogger::DtMultiBoxS...
Contains MAKLogger::DtAbsoluteTime and MAKLogger::DtRelativeTime classes.
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
Defines INPORT/EXPORT macros for lgrGui library.
A Zoom widget. Highlights the visible timeline duration on the fulltimeline bar.
Definition: lgrTimeBarZoomBox.h:27
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82