mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
25 lines
791 B
Plaintext
25 lines
791 B
Plaintext
class QgsMultiBandColorRendererWidget: QgsRasterRendererWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsmultibandcolorrendererwidget.h>
|
|
%End
|
|
|
|
public:
|
|
QgsMultiBandColorRendererWidget( QgsRasterLayer* layer, const QgsRectangle &extent = QgsRectangle() );
|
|
static QgsRasterRendererWidget* create( QgsRasterLayer* layer, const QgsRectangle &theExtent );
|
|
~QgsMultiBandColorRendererWidget();
|
|
|
|
QgsRasterRenderer* renderer();
|
|
|
|
void setFromRenderer( const QgsRasterRenderer* r );
|
|
|
|
QString min( int index = 0 );
|
|
QString max( int index = 0 );
|
|
void setMin( QString value, int index = 0 );
|
|
void setMax( QString value, int index = 0 );
|
|
int selectedBand( int index = 0 );
|
|
|
|
public slots:
|
|
void loadMinMax( int theBandNo, double theMin, double theMax, int theOrigin );
|
|
};
|