SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::plot::UtcTimeAxis Class Reference

#include <utctimeaxis.h>

Inheritance diagram for openswmmvis::plot::UtcTimeAxis:
Collaboration diagram for openswmmvis::plot::UtcTimeAxis:

Signals

void rangeChangedUtc (const QDateTime &min, const QDateTime &max)
 

Public Member Functions

 UtcTimeAxis (QObject *parent=nullptr)
 
 ~UtcTimeAxis () override
 
void setFormat (const QString &format)
 QDateTime format string for the tick labels, as QDateTimeAxis::setFormat.
 
QString format () const
 
void setTickCount (int count)
 
int tickCount () const
 
void setRange (const QDateTime &min, const QDateTime &max)
 
void setRangeMs (qint64 minMs, qint64 maxMs)
 
void setMin (const QDateTime &min)
 Move one edge, as QDateTimeAxis::setMin / setMax.
 
void setMax (const QDateTime &max)
 
QDateTime min () const
 Range edges as UTC instants.
 
QDateTime max () const
 

Constructor & Destructor Documentation

◆ UtcTimeAxis()

openswmmvis::plot::UtcTimeAxis::UtcTimeAxis ( QObject *  parent = nullptr)
explicit

◆ ~UtcTimeAxis()

openswmmvis::plot::UtcTimeAxis::~UtcTimeAxis ( )
overridedefault

Member Function Documentation

◆ format()

QString openswmmvis::plot::UtcTimeAxis::format ( ) const
inline
Here is the caller graph for this function:

◆ max()

QDateTime openswmmvis::plot::UtcTimeAxis::max ( ) const
Here is the caller graph for this function:

◆ min()

QDateTime openswmmvis::plot::UtcTimeAxis::min ( ) const

Range edges as UTC instants.

Here is the caller graph for this function:

◆ 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).

Here is the caller graph for this function:

◆ setFormat()

void openswmmvis::plot::UtcTimeAxis::setFormat ( const QString &  format)

QDateTime format string for the tick labels, as QDateTimeAxis::setFormat.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMax()

void openswmmvis::plot::UtcTimeAxis::setMax ( const QDateTime &  max)
Here is the call graph for this function:

◆ setMin()

void openswmmvis::plot::UtcTimeAxis::setMin ( const QDateTime &  min)

Move one edge, as QDateTimeAxis::setMin / setMax.

Here is the call graph for this function:

◆ 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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRangeMs()

void openswmmvis::plot::UtcTimeAxis::setRangeMs ( qint64  minMs,
qint64  maxMs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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: