mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			104 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			104 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/raster/qgsrasterrendererwidget.h                             *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsRasterRendererWidget: QWidget
 | 
						|
{
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsrasterrendererwidget.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsRasterRendererWidget( QgsRasterLayer *layer, const QgsRectangle &extent );
 | 
						|
 | 
						|
    virtual QgsRasterRenderer *renderer() = 0 /Factory/;
 | 
						|
%Docstring
 | 
						|
 :rtype: QgsRasterRenderer
 | 
						|
%End
 | 
						|
 | 
						|
    void setRasterLayer( QgsRasterLayer *layer );
 | 
						|
    const QgsRasterLayer *rasterLayer() const;
 | 
						|
%Docstring
 | 
						|
 :rtype: QgsRasterLayer
 | 
						|
%End
 | 
						|
 | 
						|
    virtual void setMapCanvas( QgsMapCanvas *canvas );
 | 
						|
%Docstring
 | 
						|
 Sets the map canvas associated with the widget. This allows the widget to retrieve the current
 | 
						|
 map extent and other properties from the canvas.
 | 
						|
 \param canvas map canvas
 | 
						|
.. seealso:: mapCanvas()
 | 
						|
.. versionadded:: 2.16
 | 
						|
%End
 | 
						|
 | 
						|
    QgsMapCanvas *mapCanvas();
 | 
						|
%Docstring
 | 
						|
 Returns the map canvas associated with the widget.
 | 
						|
.. seealso:: setMapCanvas()
 | 
						|
.. seealso:: canvasExtent()
 | 
						|
.. versionadded:: 2.16
 | 
						|
 :rtype: QgsMapCanvas
 | 
						|
%End
 | 
						|
 | 
						|
    virtual QString min( int index = 0 );
 | 
						|
%Docstring
 | 
						|
 :rtype: str
 | 
						|
%End
 | 
						|
    virtual QString max( int index = 0 );
 | 
						|
%Docstring
 | 
						|
 :rtype: str
 | 
						|
%End
 | 
						|
    virtual void setMin( const QString &value, int index = 0 );
 | 
						|
    virtual void setMax( const QString &value, int index = 0 );
 | 
						|
    virtual QString stdDev();
 | 
						|
%Docstring
 | 
						|
 :rtype: str
 | 
						|
%End
 | 
						|
    virtual void setStdDev( const QString &value );
 | 
						|
    virtual int selectedBand( int index = 0 );
 | 
						|
%Docstring
 | 
						|
 :rtype: int
 | 
						|
%End
 | 
						|
 | 
						|
    virtual void doComputations();
 | 
						|
%Docstring
 | 
						|
Load programmatically with current values
 | 
						|
%End
 | 
						|
 | 
						|
    virtual QgsRasterMinMaxWidget *minMaxWidget();
 | 
						|
%Docstring
 | 
						|
Return min/max widget when it exists.
 | 
						|
 :rtype: QgsRasterMinMaxWidget
 | 
						|
%End
 | 
						|
 | 
						|
  signals:
 | 
						|
 | 
						|
    void widgetChanged();
 | 
						|
%Docstring
 | 
						|
 Emitted when something on the widget has changed.
 | 
						|
 All widgets will fire this event to notify of an internal change.
 | 
						|
%End
 | 
						|
 | 
						|
  protected:
 | 
						|
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/raster/qgsrasterrendererwidget.h                             *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |