-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
qgstemporalmapsettingswidget.h
70 lines (53 loc) · 2.07 KB
/
qgstemporalmapsettingswidget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/***************************************************************************
qgstemporalmapsettingswidget.h
---------------
begin : March 2020
copyright : (C) 2020 by Samweli Mwakisambwe
email : samweli at kartoza dot com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSTEMPORALMAPSETTINGSWIDGET_H
#define QGSTEMPORALMAPSETTINGSWIDGET_H
#include "ui_qgstemporalmapsettingswidgetbase.h"
#include "qgis_gui.h"
#define SIP_NO_FILE
///@cond PRIVATE
class GUI_EXPORT QgsTemporalMapSettingsWidget : public QgsPanelWidget, private Ui::QgsTemporalMapSettingsWidgetBase
{
Q_OBJECT
public:
/**
* Constructor for QgsTemporalMapSettingsWidget, with the specified \a parent widget.
*/
QgsTemporalMapSettingsWidget( QWidget *parent = nullptr );
~QgsTemporalMapSettingsWidget() = default;
/**
* Returns the value of frame rate from widget input
*/
double frameRateValue();
/**
* Sets the value of frame rate from the vcr widget.
*/
void setFrameRateValue( double value );
signals:
/**
* Emitted when frame rate value on the spin box has changed.
*/
void frameRateChanged();
private slots:
/**
* Emits frame rate change signal.
*
* \see frameRateChanged()
*/
void frameRateChange();
};
///@endcond
#endif // QGSTEMPORALMAPSETTINGSWIDGET_H