mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #31 from gostrc/master
Initial step for bug #3562 QGIS incompatible with QWT 6.0.0
This commit is contained in:
commit
16624aad57
@ -50,10 +50,10 @@
|
||||
#include <QList>
|
||||
#include <QSettings>
|
||||
#include <QMouseEvent>
|
||||
#include <QVector>
|
||||
|
||||
// QWT Charting widget
|
||||
#include <qwt_plot_canvas.h>
|
||||
#include <qwt_array.h>
|
||||
#include <qwt_legend.h>
|
||||
#include <qwt_plot.h>
|
||||
#include <qwt_plot_curve.h>
|
||||
@ -1920,8 +1920,8 @@ void QgsRasterLayerProperties::refreshHistogram()
|
||||
mypCurve->setCurveAttribute( QwtPlotCurve::Fitted );
|
||||
mypCurve->setRenderHint( QwtPlotItem::RenderAntialiased );
|
||||
mypCurve->setPen( QPen( myColors.at( myIteratorInt ) ) );
|
||||
QwtArray<double> myX2Data;//qwtarray is just a wrapped qvector
|
||||
QwtArray<double> myY2Data;//qwtarray is just a wrapped qvector
|
||||
QVector<double> myX2Data;
|
||||
QVector<double> myY2Data;
|
||||
for ( int myBin = 0; myBin < BINCOUNT; myBin++ )
|
||||
{
|
||||
int myBinValue = myRasterBandStats.histogramVector->at( myBin );
|
||||
|
Loading…
x
Reference in New Issue
Block a user