|
SciDAVis
1.D4
|
#include <ScaleDraw.h>
Public Member Functions | |
| DateTimeScaleDraw (const QDateTime &origin, const QString &format) | |
| DateTimeScaleDraw (const ScaleDraw &other, const QDateTime &origin, const QString &format) | |
| QString | format () |
| QwtText | label (double value) const |
| QString | origin () |
| ~DateTimeScaleDraw () | |
Public Member Functions inherited from ScaleDraw | |
| QString | formulaString () |
| void | labelFormat (char &f, int &prec) const |
| Return the number format for the major scale labels. | |
| int | labelNumericPrecision () const |
| int | majorTicksStyle () const |
| int | minorTicksStyle () const |
| ScaleDraw (const QString &s=QString::null) | |
| ScaleDraw (const ScaleDraw &other, const QString &s=QString::null) | |
| void | setFormulaString (const QString &formula) |
| void | setLabelFormat (char f, int prec) |
| Set the number format for the major scale labels. | |
| void | setMajorTicksStyle (TicksStyle type) |
| void | setMinorTicksStyle (TicksStyle type) |
| double | transformValue (double value) const |
| virtual | ~ScaleDraw () |
Private Attributes | |
| QString | d_format |
| QDateTime | d_origin |
Additional Inherited Members | |
Public Types inherited from ScaleDraw | |
| enum | TicksStyle { None = 0, Out = 1, Both = 2, In = 3 } |
Protected Member Functions inherited from ScaleDraw | |
| void | drawTick (QPainter *p, double value, int len) const |
| DateTimeScaleDraw::DateTimeScaleDraw | ( | const QDateTime & | origin, |
| const QString & | format | ||
| ) |
|
inline |
|
inline |
|
inline |
References d_format.
|
virtual |
|
private |
Referenced by origin().
1.8.1