(#396) Removed Qwt-based panning

This commit is contained in:
Pål Hagen 2015-09-01 15:00:22 +02:00
parent 9b4a74cc33
commit 36c05c2108

View File

@ -22,7 +22,6 @@
#include "qwt_plot_grid.h"
#include "qwt_legend.h"
#include "qwt_scale_engine.h"
#include "qwt_plot_panner.h"
//--------------------------------------------------------------------------------------------------
///
@ -36,12 +35,6 @@ RiuWellLogTracePlot::RiuWellLogTracePlot(QWidget* parent)
m_legend = new QwtLegend(this);
insertLegend(m_legend, QwtPlot::TopLegend);
QwtPlotPanner* panner = new QwtPlotPanner(canvas());
panner->setAxisEnabled(QwtPlot::yLeft, true);
panner->setAxisEnabled(QwtPlot::yRight, false);
panner->setAxisEnabled(QwtPlot::xTop, false);
panner->setAxisEnabled(QwtPlot::xBottom, false);
setDefaults();
}