/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/gui/symbology/qgsgraduatedhistogramwidget.h                      *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/





class QgsGraduatedHistogramWidget : QgsHistogramWidget
{
%Docstring(signature="appended")
Graphical histogram for displaying distribution of field values and
editing range breaks for a :py:class:`QgsGraduatedSymbolRenderer`
renderer.
%End

%TypeHeaderCode
#include "qgsgraduatedhistogramwidget.h"
%End
  public:
    QgsGraduatedHistogramWidget( QWidget *parent /TransferThis/ = 0 );
%Docstring
QgsGraduatedHistogramWidget constructor

:param parent: parent widget
%End

    void setRenderer( QgsGraduatedSymbolRenderer *renderer );
%Docstring
Sets the :py:class:`QgsGraduatedSymbolRenderer` renderer associated with
the histogram. The histogram will fetch the ranges from the renderer
before every refresh.

:param renderer: associated :py:class:`QgsGraduatedSymbolRenderer`
%End

  signals:

    void rangesModified( bool rangesAdded );
%Docstring
Emitted when the user modifies the graduated ranges using the histogram
widget.

:param rangesAdded: ``True`` if the user has added ranges, ``False`` if
                    the user has just modified existing range breaks
%End

  protected:
    virtual void drawHistogram();


};



/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/gui/symbology/qgsgraduatedhistogramwidget.h                      *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/
