QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgsrastercontourrendererwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsrastercontourrendererwidget.h
3  --------------------------------------
4  Date : March 2020
5  Copyright : (C) 2020 by Martin Dobias
6  Email : wonder dot sk at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef QGSRASTERCONTOURRENDERERWIDGET_H
17 #define QGSRASTERCONTOURRENDERERWIDGET_H
18 
20 #include "qgis_sip.h"
21 #include "ui_qgsrastercontourrendererwidget.h"
22 #include "qgis_gui.h"
23 
29 class GUI_EXPORT QgsRasterContourRendererWidget : public QgsRasterRendererWidget, private Ui::QgsRasterContourRendererWidget
30 {
31  Q_OBJECT
32  public:
35 
37  static QgsRasterRendererWidget *create( QgsRasterLayer *layer, const QgsRectangle &extent ) SIP_FACTORY { return new QgsRasterContourRendererWidget( layer, extent ); }
38 
40 };
41 
42 #endif // QGSRASTERCONTOURRENDERERWIDGET_H
qgsrasterrendererwidget.h
QgsRectangle
A rectangle specified with double values.
Definition: qgsrectangle.h:41
SIP_FACTORY
#define SIP_FACTORY
Definition: qgis_sip.h:76
QgsRasterRenderer
Raster renderer pipe that applies colors to a raster.
Definition: qgsrasterrenderer.h:40
qgis_sip.h
QgsRasterLayer
Represents a raster layer.
Definition: qgsrasterlayer.h:76
QgsRasterContourRendererWidget
Configuration widget for QgsRasterContourRenderer.
Definition: qgsrastercontourrendererwidget.h:29
QgsRasterRendererWidget
Abstract base class for widgets which configure a QgsRasterRenderer.
Definition: qgsrasterrendererwidget.h:39
QgsRasterRendererWidget::renderer
virtual QgsRasterRenderer * renderer()=0
Creates a new renderer, using the properties defined in the widget.