##// END OF EJS Templates
Updates data series creation according to the value type (vector or scalar)
Updates data series creation according to the value type (vector or scalar)

File last commit:

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