18 #ifndef QGSTEMPORALCONTROLLERWIDGET_H
19 #define QGSTEMPORALCONTROLLERWIDGET_H
21 #include "ui_qgstemporalcontrollerwidgetbase.h"
63 void exportAnimation();
76 int mBlockSettingUpdates = 0;
78 bool mHasTemporalLayersLoaded =
false;
80 void togglePlayForward();
81 void togglePlayBackward();
83 bool mPlayingForward =
true;
85 std::unique_ptr< QMenu > mRangeMenu;
86 QAction *mRangeSetToProjectAction =
nullptr;
87 QAction *mRangeSetToAllLayersAction =
nullptr;
89 std::unique_ptr< QMenu > mRangeLayersSubMenu;
92 void firstTemporalLayerLoaded(
QgsMapLayer *layer );
101 void timeSlider_valueChanged(
int value );
106 void settings_clicked();
111 void setDates(
const QgsDateTimeRange &range );
116 void setDatesToAllLayers();
123 void setDatesToProjectTime();
128 void updateSlider(
const QgsDateTimeRange &range );
133 void updateRangeLabel(
const QgsDateTimeRange &range );
138 void updateTemporalExtent();
143 void updateFrameDuration();
145 void setWidgetStateFromProject();
147 void mNavigationOff_clicked();
148 void mNavigationFixedRange_clicked();
149 void mNavigationAnimated_clicked();
152 void onLayersAdded(
const QList<QgsMapLayer *> &layers );
153 void onProjectCleared();
155 void startEndDateTime_changed();
156 void fixedRangeStartEndDateTime_changed();
158 void saveRangeToProject();
160 void aboutToShowRangeMenu();
162 void mRangeSetToProjectAction_triggered();
163 void mRangeSetToAllLayersAction_triggered();
166 #endif // QGSTEMPORALCONTROLLERWIDGET_H