QGIS API Documentation  2.99.0-Master (c558d51)
Public Member Functions | Static Public Member Functions | List of all members
QgsPalettedRendererWidget Class Reference

#include <qgspalettedrendererwidget.h>

Inheritance diagram for QgsPalettedRendererWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsPalettedRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent=QgsRectangle())
 
 ~QgsPalettedRendererWidget ()
 
QgsRasterRendererrenderer () override
 
void setFromRenderer (const QgsRasterRenderer *r)
 
- Public Member Functions inherited from QgsRasterRendererWidget
 QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent)
 
virtual ~QgsRasterRendererWidget ()
 
QgsMapCanvasmapCanvas ()
 Returns the map canvas associated with the widget. More...
 
virtual QString max (int index=0)
 
virtual QString min (int index=0)
 
const QgsRasterLayerrasterLayer () const
 
virtual int selectedBand (int index=0)
 
virtual void setMapCanvas (QgsMapCanvas *canvas)
 Sets the map canvas associated with the widget. More...
 
virtual void setMax (const QString &value, int index=0)
 
virtual void setMin (const QString &value, int index=0)
 
void setRasterLayer (QgsRasterLayer *layer)
 
virtual void setStdDev (const 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 }
 
- Signals inherited from QgsRasterRendererWidget
void widgetChanged ()
 Emitted when something on the widget has changed. More...
 
- Protected Member Functions inherited from QgsRasterRendererWidget
QString displayBandName (int band) const
 Returns a band name for display. First choice is color name, otherwise band number. More...
 
- Protected Attributes inherited from QgsRasterRendererWidget
QgsMapCanvasmCanvas
 Associated map canvas. More...
 
QgsRectangle mExtent
 Current extent. More...
 
QgsRasterLayermRasterLayer
 

Detailed Description

Definition at line 29 of file qgspalettedrendererwidget.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file qgspalettedrendererwidget.cpp.

QgsPalettedRendererWidget::~QgsPalettedRendererWidget ( )

Definition at line 49 of file qgspalettedrendererwidget.cpp.

Member Function Documentation

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

Definition at line 35 of file qgspalettedrendererwidget.h.

QgsRasterRenderer * QgsPalettedRendererWidget::renderer ( )
overridevirtual

Implements QgsRasterRendererWidget.

Definition at line 54 of file qgspalettedrendererwidget.cpp.

void QgsPalettedRendererWidget::setFromRenderer ( const QgsRasterRenderer r)

Definition at line 91 of file qgspalettedrendererwidget.cpp.


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