QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
QgsMultiBandColorRendererWidget Class Reference

#include <qgsmultibandcolorrendererwidget.h>

Inheritance diagram for QgsMultiBandColorRendererWidget:
Inheritance graph
[legend]

Public Slots

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

Public Member Functions

 QgsMultiBandColorRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent=QgsRectangle())
 
 ~QgsMultiBandColorRendererWidget ()
 
QString max (int index=0)
 
QString min (int index=0)
 
QgsRasterRendererrenderer ()
 
int selectedBand (int index=0)
 
void setFromRenderer (const QgsRasterRenderer *r)
 
void setMax (QString value, int index=0)
 
void setMin (QString value, int index=0)
 
- Public Member Functions inherited from QgsRasterRendererWidget
 QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent)
 
virtual ~QgsRasterRendererWidget ()
 
const QgsRasterLayerrasterLayer () const
 
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

- 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. More...
 
- Protected Attributes inherited from QgsRasterRendererWidget
QgsRectangle mExtent
 Current extent. More...
 
QgsRasterLayermRasterLayer
 

Detailed Description

Definition at line 31 of file qgsmultibandcolorrendererwidget.h.

Constructor & Destructor Documentation

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

Definition at line 22 of file qgsmultibandcolorrendererwidget.cpp.

QgsMultiBandColorRendererWidget::~QgsMultiBandColorRendererWidget ( )

Definition at line 73 of file qgsmultibandcolorrendererwidget.cpp.

Member Function Documentation

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

Definition at line 37 of file qgsmultibandcolorrendererwidget.h.

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

Definition at line 194 of file qgsmultibandcolorrendererwidget.cpp.

QString QgsMultiBandColorRendererWidget::max ( int  index = 0)
virtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 304 of file qgsmultibandcolorrendererwidget.cpp.

QString QgsMultiBandColorRendererWidget::min ( int  index = 0)
virtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 285 of file qgsmultibandcolorrendererwidget.cpp.

QgsRasterRenderer * QgsMultiBandColorRendererWidget::renderer ( )
virtual

Implements QgsRasterRendererWidget.

Definition at line 77 of file qgsmultibandcolorrendererwidget.cpp.

int QgsMultiBandColorRendererWidget::selectedBand ( int  index = 0)
virtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 359 of file qgsmultibandcolorrendererwidget.cpp.

void QgsMultiBandColorRendererWidget::setFromRenderer ( const QgsRasterRenderer r)

Definition at line 264 of file qgsmultibandcolorrendererwidget.cpp.

void QgsMultiBandColorRendererWidget::setMax ( QString  value,
int  index = 0 
)
virtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 341 of file qgsmultibandcolorrendererwidget.cpp.

void QgsMultiBandColorRendererWidget::setMin ( QString  value,
int  index = 0 
)
virtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 323 of file qgsmultibandcolorrendererwidget.cpp.


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