Histogram widget.
More...
#include <qgsrasterhistogramwidget.h>
Detailed Description
Histogram widget.
- Author
- Etienne Tourigny
Constructor & Destructor Documentation
QgsRasterHistogramWidget::QgsRasterHistogramWidget |
( |
QgsRasterLayer * |
lyr, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
QgsRasterHistogramWidget::~QgsRasterHistogramWidget |
( |
| ) |
|
Member Function Documentation
bool QgsRasterHistogramWidget::computeHistogram |
( |
bool |
forceComputeFlag | ) |
|
Compute the histogram on demand.
void QgsRasterHistogramWidget::histoAction |
( |
const QString |
actionName, |
|
|
bool |
actionFlag = true |
|
) |
| |
Apply a histoActionTriggered() event.
bool QgsRasterHistogramWidget::histoSaveAsImage |
( |
const QString & |
theFilename, |
|
|
int |
width = 600 , |
|
|
int |
height = 600 , |
|
|
int |
quality = -1 |
|
) |
| |
Save the histogram as an image to disk.
void QgsRasterHistogramWidget::on_mSaveAsImageButton_clicked |
( |
| ) |
|
|
slot |
This slot lets you save the histogram as an image to disk.
void QgsRasterHistogramWidget::refreshHistogram |
( |
| ) |
|
|
slot |
slot executed when user wishes to refresh raster histogramwidget
void QgsRasterHistogramWidget::setActive |
( |
bool |
theActiveFlag | ) |
|
Activate the histogram widget.
void QgsRasterHistogramWidget::setRendererWidget |
( |
const QString & |
name, |
|
|
QgsRasterRendererWidget * |
rendererWidget = NULL |
|
) |
| |
Set the renderer widget (or just its name if there is no widget)
void QgsRasterHistogramWidget::setSelectedBand |
( |
int |
index | ) |
|
Apply a histoActionTriggered() event.
The documentation for this class was generated from the following files: