##// END OF EJS Templates
Handles QCustomPlot plottables for vectors (1)...
Handles QCustomPlot plottables for vectors (1) - Uses a map that associate a component index to a plottable. - Replaces the current structure by the map in VisualizationGraphHelper For example: - for a scalar, there is a QCPGraph at index 0 - for a vector, there is three QCPGraph at indexes 0, 1 and 2

File last commit:

r471:d00d6fd96c10
r545:098cadc4596c
Show More
TimeController.cpp
29 lines | 635 B | text/x-c | CppLexer
/ core / src / Time / TimeController.cpp
Add the time controller.
r176 #include "Time/TimeController.h"
Q_LOGGING_CATEGORY(LOG_TimeController, "TimeController")
struct TimeController::TimeControllerPrivate {
Change SqpRange for SqpDateTime
r471 SqpRange m_DateTime;
Add the time controller.
r176 };
TimeController::TimeController(QObject *parent)
: QObject{parent}, impl{spimpl::make_unique_impl<TimeControllerPrivate>()}
{
qCDebug(LOG_TimeController()) << tr("TimeController construction");
}
Change SqpRange for SqpDateTime
r471 SqpRange TimeController::dateTime() const noexcept
Add the time controller.
r176 {
return impl->m_DateTime;
}
Change SqpRange for SqpDateTime
r471 void TimeController::onTimeToUpdate(SqpRange dateTime)
Add the time controller.
r176 {
impl->m_DateTime = dateTime;
Add apply button and its connection for timewidget
r279 }
Add the time controller.
r176
Add apply button and its connection for timewidget
r279 void TimeController::onTimeNotify()
{
emit timeUpdated(impl->m_DateTime);
Add the time controller.
r176 }