#include <utctimeaxis.h>
◆ UtcTimeAxis()
| openswmmvis::plot::UtcTimeAxis::UtcTimeAxis |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~UtcTimeAxis()
| openswmmvis::plot::UtcTimeAxis::~UtcTimeAxis |
( |
| ) |
|
|
overridedefault |
◆ format()
| QString openswmmvis::plot::UtcTimeAxis::format |
( |
| ) |
const |
|
inline |
◆ max()
| QDateTime openswmmvis::plot::UtcTimeAxis::max |
( |
| ) |
const |
◆ min()
| QDateTime openswmmvis::plot::UtcTimeAxis::min |
( |
| ) |
const |
Range edges as UTC instants.
◆ rangeChangedUtc
| void openswmmvis::plot::UtcTimeAxis::rangeChangedUtc |
( |
const QDateTime & |
min, |
|
|
const QDateTime & |
max |
|
) |
| |
|
signal |
Range changed, as instants. The QDateTimeAxis equivalent is rangeChanged(QDateTime, QDateTime); the inherited QValueAxis signal of that name carries (qreal, qreal) instead, so panel-sync code connects to THIS one. Named distinctly rather than overloaded so a connect() to the wrong overload is a compile error rather than a silent mismatch. Also emitted after a chart zoom / pan (see the class notes).
◆ setFormat()
| void openswmmvis::plot::UtcTimeAxis::setFormat |
( |
const QString & |
format | ) |
|
QDateTime format string for the tick labels, as QDateTimeAxis::setFormat.
◆ setMax()
| void openswmmvis::plot::UtcTimeAxis::setMax |
( |
const QDateTime & |
max | ) |
|
◆ setMin()
| void openswmmvis::plot::UtcTimeAxis::setMin |
( |
const QDateTime & |
min | ) |
|
Move one edge, as QDateTimeAxis::setMin / setMax.
◆ setRange()
| void openswmmvis::plot::UtcTimeAxis::setRange |
( |
const QDateTime & |
min, |
|
|
const QDateTime & |
max |
|
) |
| |
Range as instants. Both are read as absolute times; their timeSpec is irrelevant because only the epoch value is used.
◆ setRangeMs()
| void openswmmvis::plot::UtcTimeAxis::setRangeMs |
( |
qint64 |
minMs, |
|
|
qint64 |
maxMs |
|
) |
| |
◆ setTickCount()
| void openswmmvis::plot::UtcTimeAxis::setTickCount |
( |
int |
count | ) |
|
Number of tick labels to place across the range (>= 2), both edges included, as QDateTimeAxis::setTickCount.
◆ tickCount()
| int openswmmvis::plot::UtcTimeAxis::tickCount |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: