QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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
29class 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
Configuration widget for QgsRasterContourRenderer.
static QgsRasterRendererWidget * create(QgsRasterLayer *layer, const QgsRectangle &extent)
Widget creation function (mainly for the use by the renderer registry)
Represents a raster layer.
Abstract base class for widgets which configure a QgsRasterRenderer.
virtual QgsRasterRenderer * renderer()=0
Creates a new renderer, using the properties defined in the widget.
Raster renderer pipe that applies colors to a raster.
A rectangle specified with double values.
Definition: qgsrectangle.h:42
#define SIP_FACTORY
Definition: qgis_sip.h:76