##// END OF EJS Templates
Adds plugin column to variable widget...
Adds plugin column to variable widget To retrieve the "plugin" field, we add to the metadata of the variable the name of the data source root item

File last commit:

r471:d00d6fd96c10
r520:b0a7e1650d9f
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 }