#include <qgsrasterminmaxwidget.h>
|
void | load (int bandNo, double min, double max) |
| signal emitted when new min/max values are computed from statistics. More...
|
|
void | widgetChanged () |
| Emitted when something on the widget has changed. More...
|
|
Definition at line 37 of file qgsrasterminmaxwidget.h.
◆ QgsRasterMinMaxWidget()
QgsRasterMinMaxWidget::QgsRasterMinMaxWidget |
( |
QgsRasterLayer * |
layer, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ doComputations()
void QgsRasterMinMaxWidget::doComputations |
( |
| ) |
|
◆ extent()
Returns the extent selected by the user.
Either an empty extent for 'full' or the current visible extent.
Definition at line 75 of file qgsrasterminmaxwidget.cpp.
◆ hideUpdatedExtent()
void QgsRasterMinMaxWidget::hideUpdatedExtent |
( |
| ) |
|
◆ isCollapsed()
bool QgsRasterMinMaxWidget::isCollapsed |
( |
| ) |
const |
|
inline |
◆ load
void QgsRasterMinMaxWidget::load |
( |
int |
bandNo, |
|
|
double |
min, |
|
|
double |
max |
|
) |
| |
|
signal |
signal emitted when new min/max values are computed from statistics.
◆ mapCanvas()
◆ minMaxOrigin()
◆ sampleSize()
int QgsRasterMinMaxWidget::sampleSize |
( |
| ) |
|
|
inline |
◆ setBands()
void QgsRasterMinMaxWidget::setBands |
( |
const QList< int > & |
bands | ) |
|
◆ setCollapsed()
void QgsRasterMinMaxWidget::setCollapsed |
( |
bool |
b | ) |
|
|
inline |
◆ setExtent()
void QgsRasterMinMaxWidget::setExtent |
( |
const QgsRectangle & |
extent | ) |
|
|
inline |
Sets the extent to use for minimum and maximum value calculation.
- Parameters
-
extent | extent in raster layer's CRS |
- Note
- if a map canvas is set using setMapCanvas(), its extent will take precedence over any extent set using this method.
Definition at line 51 of file qgsrasterminmaxwidget.h.
◆ setFromMinMaxOrigin()
◆ setMapCanvas()
void QgsRasterMinMaxWidget::setMapCanvas |
( |
QgsMapCanvas * |
canvas | ) |
|
Sets the map canvas associated with the widget.
This allows the widget to retrieve the current map extent from the canvas. If a canvas is set it will take precedence over any extent set from calling setExtent().
- Parameters
-
- See also
- mapCanvas()
- Since
- QGIS 2.16
Definition at line 59 of file qgsrasterminmaxwidget.cpp.
◆ userHasSetManualMinMaxValues()
void QgsRasterMinMaxWidget::userHasSetManualMinMaxValues |
( |
| ) |
|
◆ widgetChanged
void QgsRasterMinMaxWidget::widgetChanged |
( |
| ) |
|
|
signal |
Emitted when something on the widget has changed.
All widgets will fire this event to notify of an internal change.
The documentation for this class was generated from the following files: