QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Static Public Member Functions | Private Slots | Private Attributes | List of all members
QgsSingleBandGrayRendererWidget Class Reference

#include <qgssinglebandgrayrendererwidget.h>

Inheritance diagram for QgsSingleBandGrayRendererWidget:
Inheritance graph
[legend]
Collaboration diagram for QgsSingleBandGrayRendererWidget:
Collaboration graph
[legend]

Public Slots

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

Public Member Functions

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

Static Public Member Functions

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

Private Slots

void on_mGrayBandComboBox_currentIndexChanged (int index)

Private Attributes

QgsRasterMinMaxWidgetmMinMaxWidget

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
QgsRasterLayermRasterLayer
QgsRectangle mExtent
 Current extent.

Detailed Description

Definition at line 25 of file qgssinglebandgrayrendererwidget.h.

Constructor & Destructor Documentation

QgsSingleBandGrayRendererWidget::QgsSingleBandGrayRendererWidget ( QgsRasterLayer layer,
const QgsRectangle extent = QgsRectangle() 
)
QgsSingleBandGrayRendererWidget::~QgsSingleBandGrayRendererWidget ( )

Definition at line 68 of file qgssinglebandgrayrendererwidget.cpp.

Member Function Documentation

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

Definition at line 32 of file qgssinglebandgrayrendererwidget.h.

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

Definition at line 101 of file qgssinglebandgrayrendererwidget.cpp.

References QgsDebugMsg.

Referenced by QgsSingleBandGrayRendererWidget().

QString QgsSingleBandGrayRendererWidget::max ( int  index = 0)
inlinevirtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 39 of file qgssinglebandgrayrendererwidget.h.

QString QgsSingleBandGrayRendererWidget::min ( int  index = 0)
inlinevirtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 38 of file qgssinglebandgrayrendererwidget.h.

void QgsSingleBandGrayRendererWidget::on_mGrayBandComboBox_currentIndexChanged ( int  index)
privateslot
QgsRasterRenderer * QgsSingleBandGrayRendererWidget::renderer ( )
virtual
int QgsSingleBandGrayRendererWidget::selectedBand ( int  index = 0)
inlinevirtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 42 of file qgssinglebandgrayrendererwidget.h.

void QgsSingleBandGrayRendererWidget::setFromRenderer ( const QgsRasterRenderer r)
void QgsSingleBandGrayRendererWidget::setMax ( QString  value,
int  index = 0 
)
inlinevirtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 41 of file qgssinglebandgrayrendererwidget.h.

void QgsSingleBandGrayRendererWidget::setMin ( QString  value,
int  index = 0 
)
inlinevirtual

Reimplemented from QgsRasterRendererWidget.

Definition at line 40 of file qgssinglebandgrayrendererwidget.h.

Member Data Documentation

QgsRasterMinMaxWidget* QgsSingleBandGrayRendererWidget::mMinMaxWidget
private

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