##// END OF EJS Templates
Adds method to get all variables from model...
Adds method to get all variables from model This method will be used to generate forbidden names when renaming a variable (i.e. names of existing variables)

File last commit:

r471:d00d6fd96c10
r636:c7028b4894dd
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 }