18 #ifndef QGSTEMPORALCONTROLLERWIDGET_H 
   19 #define QGSTEMPORALCONTROLLERWIDGET_H 
   21 #include "ui_qgstemporalcontrollerwidgetbase.h" 
   78     int mBlockSettingUpdates = 0;
 
   79     int mBlockFrameDurationUpdates = 0;
 
   81     bool mHasTemporalLayersLoaded = 
false;
 
   83     void togglePlayForward();
 
   84     void togglePlayBackward();
 
   86     bool mPlayingForward = 
true;
 
   88     std::unique_ptr< QMenu > mRangeMenu;
 
   89     QAction *mRangeSetToProjectAction = 
nullptr;
 
   90     QAction *mRangeSetToAllLayersAction = 
nullptr;
 
   92     std::unique_ptr< QMenu > mRangeLayersSubMenu;
 
   95     void firstTemporalLayerLoaded( 
QgsMapLayer *layer );
 
  113     void updateTimeStepInputs( 
const QgsInterval &timeStep );
 
  121     void timeSlider_valueChanged( 
int value );
 
  126     void settings_clicked();
 
  131     void setDates( 
const QgsDateTimeRange &range );
 
  136     void setDatesToAllLayers();
 
  143     void setDatesToProjectTime();
 
  148     void updateSlider( 
const QgsDateTimeRange &range );
 
  153     void updateRangeLabel( 
const QgsDateTimeRange &range );
 
  158     void updateTemporalExtent();
 
  163     void updateFrameDuration();
 
  165     void setWidgetStateFromProject();
 
  167     void mNavigationOff_clicked();
 
  168     void mNavigationFixedRange_clicked();
 
  169     void mNavigationAnimated_clicked();
 
  172     void onLayersAdded( 
const QList<QgsMapLayer *> &layers );
 
  173     void onProjectCleared();
 
  175     void startEndDateTime_changed();
 
  176     void fixedRangeStartEndDateTime_changed();
 
  178     void saveRangeToProject();
 
  180     void aboutToShowRangeMenu();
 
  182     void mRangeSetToProjectAction_triggered();
 
  183     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.