17#ifndef QGSGRADUATEDHISTOGRAMWIDGET_H
18#define QGSGRADUATEDHISTOGRAMWIDGET_H
25class QgsGraduatedHistogramEventFilter;
67 void mousePress(
double value );
68 void mouseRelease(
double value );
72 QwtPlotPicker *mHistoPicker =
nullptr;
73 QgsGraduatedHistogramEventFilter *mFilter =
nullptr;
74 double mPressedValue = 0;
76 void findClosestRange(
double value,
int &closestRangeIndex,
int &pixelDistance )
const;
78 QwtPlotHistogram *createPlotHistogram(
const QString &title,
const QColor &color )
const;
89class GUI_EXPORT QgsGraduatedHistogramEventFilter :
public QObject
94 QgsGraduatedHistogramEventFilter( QwtPlot *plot );
96 bool eventFilter( QObject *
object, QEvent *event )
override;
100 void mousePress(
double );
101 void mouseRelease(
double );
104 QwtPlot *mPlot =
nullptr;
105 double posToValue( QPointF point )
const;
A vector feature renderer which uses numeric attributes to classify features into different ranges.