QGIS/python/gui/raster/qgsrasterhistogramwidget.sip
Nyall Dawson 7cfd284fb1 Remove all previously autoconnected slots from public API
These are implementation details only, and should not be
part of the stable API.

We need the flexibility to change these at any stage without
being bound by any API contract.
2017-10-09 09:04:18 +10:00

76 lines
2.2 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrasterhistogramwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRasterHistogramWidget : QgsMapLayerConfigWidget
{
%Docstring
Histogram widget
%End
%TypeHeaderCode
#include "qgsrasterhistogramwidget.h"
%End
public:
QgsRasterHistogramWidget( QgsRasterLayer *lyr, QWidget *parent /TransferThis/ = 0 );
bool histoSaveAsImage( const QString &filename, int width = 600, int height = 600, int quality = -1 );
%Docstring
Save the histogram as an image to disk
:rtype: bool
%End
void setRendererWidget( const QString &name, QgsRasterRendererWidget *rendererWidget = 0 );
%Docstring
Set the renderer widget (or just its name if there is no widget)
%End
void setActive( bool activeFlag );
%Docstring
Activate the histogram widget
%End
bool computeHistogram( bool forceComputeFlag );
%Docstring
Compute the histogram on demand.
:rtype: bool
%End
void histoAction( const QString &actionName, bool actionFlag = true );
%Docstring
Apply a histoActionTriggered() event.
%End
void setSelectedBand( int index );
%Docstring
Apply a histoActionTriggered() event.
%End
public slots:
void refreshHistogram();
%Docstring
slot executed when user wishes to refresh raster histogramwidget
%End
virtual void apply();
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/raster/qgsrasterhistogramwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/