QGIS API Documentation
3.6.0-Noosa (5873452)
|
#include <qgsrasterrendererwidget.h>
Signals | |
void | widgetChanged () |
Emitted when something on the widget has changed. More... | |
Public Member Functions | |
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 QgsRasterRenderer * | renderer ()=0 |
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 () |
Protected Attributes | |
QgsMapCanvas * | mCanvas = nullptr |
Associated map canvas. More... | |
QgsRectangle | mExtent |
Current extent. More... | |
QgsRasterLayer * | mRasterLayer = nullptr |
Definition at line 36 of file qgsrasterrendererwidget.h.
|
inline |
Definition at line 43 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Load programmatically with current values.
Reimplemented in QgsMultiBandColorRendererWidget, QgsSingleBandPseudoColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 78 of file qgsrasterrendererwidget.h.
QgsMapCanvas * QgsRasterRendererWidget::mapCanvas | ( | ) |
Returns the map canvas associated with the widget.
Definition at line 28 of file qgsrasterrendererwidget.cpp.
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 70 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 69 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Returns min/max widget when it exists.
Reimplemented in QgsMultiBandColorRendererWidget, QgsSingleBandPseudoColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 81 of file qgsrasterrendererwidget.h.
|
inline |
Definition at line 51 of file qgsrasterrendererwidget.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 75 of file qgsrasterrendererwidget.h.
|
virtual |
Sets the map canvas associated with the widget.
This allows the widget to retrieve the current map extent and other properties from the canvas.
canvas | map canvas |
Reimplemented in QgsSingleBandPseudoColorRendererWidget, QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 23 of file qgsrasterrendererwidget.cpp.
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 72 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 71 of file qgsrasterrendererwidget.h.
|
inline |
Definition at line 50 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Definition at line 74 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Definition at line 73 of file qgsrasterrendererwidget.h.
|
signal |
Emitted when something on the widget has changed.
All widgets will fire this event to notify of an internal change.
|
protected |
Associated map canvas.
Definition at line 98 of file qgsrasterrendererwidget.h.
|
protected |
Current extent.
Definition at line 95 of file qgsrasterrendererwidget.h.
|
protected |
Definition at line 92 of file qgsrasterrendererwidget.h.