##// 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.h
42 lines | 1002 B | text/x-c | CLexer
Add the time controller.
r176 #ifndef SCIQLOP_TIMECONTROLLER_H
#define SCIQLOP_TIMECONTROLLER_H
Alexandre Leroux
Exports core module as a shared library...
r425 #include "CoreGlobal.h"
Change SqpRange for SqpDateTime
r471 #include <Data/SqpRange.h>
Add the time controller.
r176
#include <QLoggingCategory>
#include <QObject>
#include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_TimeController)
/**
* @brief The TimeController class aims to handle the Time parameters notification in SciQlop.
*/
Alexandre Leroux
Exports core module as a shared library...
r425 class SCIQLOP_CORE_EXPORT TimeController : public QObject {
Add the time controller.
r176 Q_OBJECT
public:
explicit TimeController(QObject *parent = 0);
Change SqpRange for SqpDateTime
r471 SqpRange dateTime() const noexcept;
Add the time controller.
r176
signals:
/// Signal emitted to notify that time parameters has beed updated
Change SqpRange for SqpDateTime
r471 void timeUpdated(SqpRange time);
Add the time controller.
r176
public slots:
Add apply button and its connection for timewidget
r279 /// Slot called when a new dateTime has been defined.
Change SqpRange for SqpDateTime
r471 void onTimeToUpdate(SqpRange dateTime);
Add the time controller.
r176
Add apply button and its connection for timewidget
r279 /// Slot called when the dateTime has to be notified. Call timeUpdated signal
void onTimeNotify();
Add the time controller.
r176 private:
class TimeControllerPrivate;
spimpl::unique_impl_ptr<TimeControllerPrivate> impl;
};
#endif // SCIQLOP_TIMECONTROLLER_H