QGIS API Documentation
2.8.2-Wien
|
#include <qgssinglebandgrayrendererwidget.h>
Public Slots | |
void | loadMinMax (int theBandNo, double theMin, double theMax, int theOrigin) |
Public Member Functions | |
QgsSingleBandGrayRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent=QgsRectangle()) | |
~QgsSingleBandGrayRendererWidget () | |
QString | max (int index=0) override |
QString | min (int index=0) override |
QgsRasterRenderer * | renderer () override |
int | selectedBand (int index=0) override |
void | setFromRenderer (const QgsRasterRenderer *r) |
void | setMax (QString value, int index=0) override |
void | setMin (QString value, int index=0) override |
Public Member Functions inherited from QgsRasterRendererWidget | |
QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent) | |
virtual | ~QgsRasterRendererWidget () |
const QgsRasterLayer * | rasterLayer () const |
void | setRasterLayer (QgsRasterLayer *layer) |
virtual void | setStdDev (QString value) |
virtual QString | stdDev () |
Static Public Member Functions | |
static QgsRasterRendererWidget * | create (QgsRasterLayer *layer, const QgsRectangle &theExtent) |
Additional Inherited Members | |
Public Types inherited from QgsRasterRendererWidget | |
enum | LoadMinMaxAlgo { Estimate, Actual, CurrentExtent, CumulativeCut } |
Protected Member Functions inherited from QgsRasterRendererWidget | |
QString | displayBandName (int band) const |
Returns a band name for display. | |
Protected Attributes inherited from QgsRasterRendererWidget | |
QgsRectangle | mExtent |
Current extent. | |
QgsRasterLayer * | mRasterLayer |
Definition at line 25 of file qgssinglebandgrayrendererwidget.h.
QgsSingleBandGrayRendererWidget::QgsSingleBandGrayRendererWidget | ( | QgsRasterLayer * | layer, |
const QgsRectangle & | extent = QgsRectangle() |
||
) |
Definition at line 22 of file qgssinglebandgrayrendererwidget.cpp.
QgsSingleBandGrayRendererWidget::~QgsSingleBandGrayRendererWidget | ( | ) |
Definition at line 70 of file qgssinglebandgrayrendererwidget.cpp.
|
inlinestatic |
Definition at line 32 of file qgssinglebandgrayrendererwidget.h.
|
slot |
Definition at line 103 of file qgssinglebandgrayrendererwidget.cpp.
|
inlineoverridevirtual |
Reimplemented from QgsRasterRendererWidget.
Definition at line 39 of file qgssinglebandgrayrendererwidget.h.
|
inlineoverridevirtual |
Reimplemented from QgsRasterRendererWidget.
Definition at line 38 of file qgssinglebandgrayrendererwidget.h.
|
overridevirtual |
Implements QgsRasterRendererWidget.
Definition at line 74 of file qgssinglebandgrayrendererwidget.cpp.
|
inlineoverridevirtual |
Reimplemented from QgsRasterRendererWidget.
Definition at line 42 of file qgssinglebandgrayrendererwidget.h.
void QgsSingleBandGrayRendererWidget::setFromRenderer | ( | const QgsRasterRenderer * | r | ) |
Definition at line 135 of file qgssinglebandgrayrendererwidget.cpp.
|
inlineoverridevirtual |
Reimplemented from QgsRasterRendererWidget.
Definition at line 41 of file qgssinglebandgrayrendererwidget.h.
|
inlineoverridevirtual |
Reimplemented from QgsRasterRendererWidget.
Definition at line 40 of file qgssinglebandgrayrendererwidget.h.