mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/raster/qgssinglebandgrayrendererwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsSingleBandGrayRendererWidget: QgsRasterRendererWidget
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgssinglebandgrayrendererwidget.h"
|
|
%End
|
|
public:
|
|
QgsSingleBandGrayRendererWidget( QgsRasterLayer *layer, const QgsRectangle &extent = QgsRectangle() );
|
|
|
|
static QgsRasterRendererWidget *create( QgsRasterLayer *layer, const QgsRectangle &extent ) /Factory/;
|
|
|
|
virtual QgsRasterRenderer *renderer();
|
|
|
|
virtual void setMapCanvas( QgsMapCanvas *canvas );
|
|
|
|
|
|
void setFromRenderer( const QgsRasterRenderer *r );
|
|
|
|
virtual QString min( int index = 0 );
|
|
virtual QString max( int index = 0 );
|
|
virtual void setMin( const QString &value, int index = 0 );
|
|
|
|
virtual void setMax( const QString &value, int index = 0 );
|
|
|
|
virtual int selectedBand( int index = 0 );
|
|
virtual void doComputations();
|
|
|
|
virtual QgsRasterMinMaxWidget *minMaxWidget();
|
|
|
|
public slots:
|
|
void loadMinMax( int bandNo, double min, double max );
|
|
%Docstring
|
|
called when new min/max values are loaded
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/raster/qgssinglebandgrayrendererwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|