QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Configuration widget for QgsRasterContourRenderer. More...
#include <qgsrastercontourrendererwidget.h>
Public Member Functions | |
QgsRasterContourRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent=QgsRectangle()) | |
Constructs the widget. More... | |
QgsRasterRenderer * | renderer () override |
Public Member Functions inherited from QgsRasterRendererWidget | |
QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent) | |
virtual void | doComputations () |
Load programmatically with current values. More... | |
QgsMapCanvas * | mapCanvas () |
Returns the map canvas associated with the widget. More... | |
virtual QString | max (int index=0) |
virtual QString | min (int index=0) |
virtual QgsRasterMinMaxWidget * | minMaxWidget () |
Returns min/max widget when it exists. More... | |
const QgsRasterLayer * | rasterLayer () const |
virtual int | selectedBand (int index=0) |
virtual void | setMapCanvas (QgsMapCanvas *canvas) |
Sets the map canvas associated with the widget. More... | |
virtual void | setMax (const QString &value, int index=0) |
virtual void | setMin (const QString &value, int index=0) |
void | setRasterLayer (QgsRasterLayer *layer) |
virtual void | setStdDev (const QString &value) |
virtual QString | stdDev () |
Static Public Member Functions | |
static QgsRasterRendererWidget * | create (QgsRasterLayer *layer, const QgsRectangle &extent) |
Widget creation function (mainly for the use by the renderer registry) More... | |
Additional Inherited Members | |
Signals inherited from QgsRasterRendererWidget | |
void | widgetChanged () |
Emitted when something on the widget has changed. More... | |
Protected Attributes inherited from QgsRasterRendererWidget | |
QgsMapCanvas * | mCanvas = nullptr |
Associated map canvas. More... | |
QgsRectangle | mExtent |
Current extent. More... | |
QgsRasterLayer * | mRasterLayer = nullptr |
Configuration widget for QgsRasterContourRenderer.
Definition at line 29 of file qgsrastercontourrendererwidget.h.
QgsRasterContourRendererWidget::QgsRasterContourRendererWidget | ( | QgsRasterLayer * | layer, |
const QgsRectangle & | extent = QgsRectangle() |
||
) |
Constructs the widget.
Definition at line 22 of file qgsrastercontourrendererwidget.cpp.
|
inlinestatic |
Widget creation function (mainly for the use by the renderer registry)
Definition at line 37 of file qgsrastercontourrendererwidget.h.
|
overridevirtual |
Implements QgsRasterRendererWidget.
Definition at line 63 of file qgsrastercontourrendererwidget.cpp.