QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
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
28class GUI_EXPORT QgsTemporalMapSettingsWidget : public QgsPanelWidget, private Ui::QgsTemporalMapSettingsWidgetBase
29{
30 Q_OBJECT
31 public:
35 QgsTemporalMapSettingsWidget( QWidget *parent = nullptr );
36
37 ~QgsTemporalMapSettingsWidget() = default;
38
42 double frameRateValue();
43
47 void setFrameRateValue( double value );
48
54 bool isTemporalRangeCumulative();
55
61 void setIsTemporalRangeCumulative( bool state );
62
63 signals:
64
68 void frameRateChanged( double rate );
69
70 void temporalRangeCumulativeChanged( bool state );
71};
73
74#endif // QGSTEMPORALMAPSETTINGSWIDGET_H
Base class for any widget that can be shown as a inline panel.