From 61b599ed0e6502ac607f56441a443b9682f481d5 Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Tue, 29 Nov 2016 15:44:34 +0100 Subject: [PATCH] Added histogram values to the bindings --- python/core/raster/qgsrasterhistogram.sip | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python/core/raster/qgsrasterhistogram.sip b/python/core/raster/qgsrasterhistogram.sip index af89693499f..3eb1474415b 100644 --- a/python/core/raster/qgsrasterhistogram.sip +++ b/python/core/raster/qgsrasterhistogram.sip @@ -4,6 +4,9 @@ class QgsRasterHistogram #include %End public: + + typedef QVector HistogramVector; + QgsRasterHistogram(); /** Compares region, size etc. not histogram itself */ @@ -22,9 +25,9 @@ class QgsRasterHistogram bool includeOutOfRange; /** \brief Store the histogram for a given layer - * @note not available via python binding - */ - // HistogramVector histogramVector; + * @note added in version 3.0 + */ + HistogramVector histogramVector; /** \brief The maximum histogram value. */ double maximum;