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

#include <qgspalettedrendererwidget.h>

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

Public Member Functions

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

Static Public Member Functions

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

Private Slots

void on_mTreeWidget_itemDoubleClicked (QTreeWidgetItem *item, int column)

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 26 of file qgspalettedrendererwidget.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file qgspalettedrendererwidget.cpp.

Member Function Documentation

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

Definition at line 32 of file qgspalettedrendererwidget.h.

void QgsPalettedRendererWidget::on_mTreeWidget_itemDoubleClicked ( QTreeWidgetItem *  item,
int  column 
)
privateslot

Definition at line 70 of file qgspalettedrendererwidget.cpp.

QgsRasterRenderer * QgsPalettedRendererWidget::renderer ( )
virtual
void QgsPalettedRendererWidget::setFromRenderer ( const QgsRasterRenderer r)

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