QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Slots | Public Member Functions | Static Public Member Functions | List of all members
QgsSingleBandPseudoColorRendererWidget Class Reference

#include <qgssinglebandpseudocolorrendererwidget.h>

Inheritance diagram for QgsSingleBandPseudoColorRendererWidget:
Inheritance graph
[legend]

Public Types

enum  Mode { Continuous = 1, EqualInterval = 2 }
- Public Types inherited from QgsRasterRendererWidget
enum  LoadMinMaxAlgo { Estimate, Actual, CurrentExtent, CumulativeCut }

Public Slots

void loadMinMax (int theBandNo, double theMin, double theMax, int theOrigin)

Public Member Functions

 QgsSingleBandPseudoColorRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent=QgsRectangle())
 ~QgsSingleBandPseudoColorRendererWidget ()
QgsRasterRendererrenderer () override
void setFromRenderer (const QgsRasterRenderer *r)
- Public Member Functions inherited from QgsRasterRendererWidget
 QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent)
virtual ~QgsRasterRendererWidget ()
virtual QString max (int index=0)
virtual QString min (int index=0)
const QgsRasterLayerrasterLayer () const
virtual int selectedBand (int index=0)
virtual void setMax (QString value, int index=0)
virtual void setMin (QString value, int index=0)
void setRasterLayer (QgsRasterLayer *layer)
virtual void setStdDev (QString value)
virtual QString stdDev ()

Static Public Member Functions

static QgsRasterRendererWidgetcreate (QgsRasterLayer *layer, const QgsRectangle &theExtent)

Additional Inherited Members

- 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.
QgsRasterLayermRasterLayer

Detailed Description

Definition at line 26 of file qgssinglebandpseudocolorrendererwidget.h.

Member Enumeration Documentation

Enumerator:
Continuous 
EqualInterval 

Definition at line 31 of file qgssinglebandpseudocolorrendererwidget.h.

Constructor & Destructor Documentation

QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget ( QgsRasterLayer layer,
const QgsRectangle extent = QgsRectangle() 
)

Definition at line 32 of file qgssinglebandpseudocolorrendererwidget.cpp.

QgsSingleBandPseudoColorRendererWidget::~QgsSingleBandPseudoColorRendererWidget ( )

Definition at line 105 of file qgssinglebandpseudocolorrendererwidget.cpp.

Member Function Documentation

static QgsRasterRendererWidget* QgsSingleBandPseudoColorRendererWidget::create ( QgsRasterLayer layer,
const QgsRectangle theExtent 
)
inlinestatic

Definition at line 40 of file qgssinglebandpseudocolorrendererwidget.h.

void QgsSingleBandPseudoColorRendererWidget::loadMinMax ( int  theBandNo,
double  theMin,
double  theMax,
int  theOrigin 
)
slot

Definition at line 613 of file qgssinglebandpseudocolorrendererwidget.cpp.

QgsRasterRenderer * QgsSingleBandPseudoColorRendererWidget::renderer ( )
overridevirtual
void QgsSingleBandPseudoColorRendererWidget::setFromRenderer ( const QgsRasterRenderer r)

Definition at line 561 of file qgssinglebandpseudocolorrendererwidget.cpp.


The documentation for this class was generated from the following files: