QGIS API Documentation  3.20.0-Odense (decaadbb31)
qgstemporalmapsettingswidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgstemporalmapsettingswidget.h
3  ---------------
4  begin : March 2020
5  copyright : (C) 2020 by Samweli Mwakisambwe
6  email : samweli at kartoza dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSTEMPORALMAPSETTINGSWIDGET_H
19 #define QGSTEMPORALMAPSETTINGSWIDGET_H
20 
21 #include "ui_qgstemporalmapsettingswidgetbase.h"
22 
23 #include "qgis_gui.h"
24 
25 #define SIP_NO_FILE
26 
28 class GUI_EXPORT QgsTemporalMapSettingsWidget : public QgsPanelWidget, private Ui::QgsTemporalMapSettingsWidgetBase
29 {
30  Q_OBJECT
31  public:
32 
36  QgsTemporalMapSettingsWidget( QWidget *parent = nullptr );
37 
38  ~QgsTemporalMapSettingsWidget() = default;
39 
43  double frameRateValue();
44 
48  void setFrameRateValue( double value );
49 
55  bool isTemporalRangeCumulative();
56 
62  void setIsTemporalRangeCumulative( bool state );
63 
64  signals:
65 
69  void frameRateChanged( double rate );
70 
71  void temporalRangeCumulativeChanged( bool state );
72 
73 
74 };
76 
77 #endif // QGSTEMPORALMAPSETTINGSWIDGET_H
Base class for any widget that can be shown as a inline panel.