Custom QwtScaleDraw for displaying x axis values as times.
More...
Public Member Functions |
| | TimeScaleDraw () |
| | CTOR Instantiates a new TimeScaleDraw.
|
| virtual void | setBaseTime (MAKRti::DtU64 baseTime) |
| | Sets the reference time to use for labeling The precision required to accurately use DtU64's for time coordinates are not offered by the QPointF class, so all points must be relative to the given base time.
|
| virtual QwtText | label (double val) const |
| | Converts the given value to the axis label.
|
Detailed Description
Custom QwtScaleDraw for displaying x axis values as times.
Constructor & Destructor Documentation
| DtAssistantPlot::TimeScaleDraw::TimeScaleDraw |
( |
| ) |
|
Member Function Documentation
| virtual QwtText DtAssistantPlot::TimeScaleDraw::label |
( |
double |
val | ) |
const |
|
virtual |
Converts the given value to the axis label.
| virtual void DtAssistantPlot::TimeScaleDraw::setBaseTime |
( |
MAKRti::DtU64 |
baseTime | ) |
|
|
virtual |
Sets the reference time to use for labeling The precision required to accurately use DtU64's for time coordinates are not offered by the QPointF class, so all points must be relative to the given base time.
- Parameters
-
| baseTime | the reference time to use for labeling. |
Member Data Documentation
| MAKRti::DtU64 DtAssistantPlot::TimeScaleDraw::myBaseTime |
|
private |
The documentation for this class was generated from the following file: