18 #ifndef QGSTEMPORALCONTROLLERWIDGET_H
19 #define QGSTEMPORALCONTROLLERWIDGET_H
21 #include "ui_qgstemporalcontrollerwidgetbase.h"
76 int mBlockSettingUpdates = 0;
77 int mBlockFrameDurationUpdates = 0;
79 bool mHasTemporalLayersLoaded =
false;
81 void togglePlayForward();
82 void togglePlayBackward();
84 bool mPlayingForward =
true;
86 std::unique_ptr< QMenu > mRangeMenu;
87 QAction *mRangeSetToProjectAction =
nullptr;
88 QAction *mRangeSetToAllLayersAction =
nullptr;
90 std::unique_ptr< QMenu > mRangeLayersSubMenu;
93 void firstTemporalLayerLoaded(
QgsMapLayer *layer );
111 void updateTimeStepInputs(
const QgsInterval &timeStep );
119 void timeSlider_valueChanged(
int value );
124 void settings_clicked();
129 void setDates(
const QgsDateTimeRange &range );
134 void setDatesToAllLayers();
141 void setDatesToProjectTime();
146 void updateSlider(
const QgsDateTimeRange &range );
151 void updateRangeLabel(
const QgsDateTimeRange &range );
156 void updateTemporalExtent();
161 void updateFrameDuration();
163 void setWidgetStateFromProject();
165 void mNavigationOff_clicked();
166 void mNavigationFixedRange_clicked();
167 void mNavigationAnimated_clicked();
170 void onLayersAdded(
const QList<QgsMapLayer *> &layers );
171 void onProjectCleared();
173 void startEndDateTime_changed();
174 void fixedRangeStartEndDateTime_changed();
176 void saveRangeToProject();
178 void aboutToShowRangeMenu();
180 void mRangeSetToProjectAction_triggered();
181 void mRangeSetToAllLayersAction_triggered();
A representation of the interval between two datetime values.
The QgsMapLayerModel class is a model to display layers in widgets.
Base class for all map layer types.
A controller base class for temporal objects, contains a signal for notifying updates of the objects ...
Implements a temporal controller based on a frame by frame navigation and animation.
NavigationMode
Represents the current temporal navigation mode.