QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
qgsrasterlayertemporalpropertieswidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsrasterlayertemporalpropertieswidget.h
3  ------------------------------
4  begin : January 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 QGSRASTERLAYERTEMPORALPROPERTIESWIDGET_H
19 #define QGSRASTERLAYERTEMPORALPROPERTIESWIDGET_H
20 
21 #include "ui_qgsrasterlayertemporalpropertieswidgetbase.h"
22 #include "qgis_gui.h"
23 
24 class QgsRasterLayer;
25 
34 class GUI_EXPORT QgsRasterLayerTemporalPropertiesWidget : public QWidget, private Ui::QgsRasterLayerTemporalPropertiesWidgetBase
35 {
36  Q_OBJECT
37  public:
38 
42  QgsRasterLayerTemporalPropertiesWidget( QWidget *parent = nullptr, QgsRasterLayer *layer = nullptr );
43 
47  void saveTemporalProperties();
48 
52  void syncToLayer();
53 
54  private:
55 
59  QgsRasterLayer *mLayer = nullptr;
60 
61 };
62 #endif // QGSRASTERLAYERTEMPORALPROPERTIESWIDGET_H
A widget for configuring the temporal properties for a raster layer.
Represents a raster layer.