mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Stopped using Qwt-based magnifier
This commit is contained in:
parent
ba1b2ec110
commit
eee14d790b
@ -22,7 +22,6 @@
|
||||
#include "qwt_plot_grid.h"
|
||||
#include "qwt_legend.h"
|
||||
#include "qwt_scale_engine.h"
|
||||
#include "qwt_plot_magnifier.h"
|
||||
#include "qwt_plot_panner.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -36,13 +35,6 @@ RiuWellLogTracePlot::RiuWellLogTracePlot(QWidget* parent)
|
||||
|
||||
m_legend = new QwtLegend(this);
|
||||
insertLegend(m_legend, QwtPlot::TopLegend);
|
||||
|
||||
QwtPlotMagnifier* magnifierDepth = new QwtPlotMagnifier(canvas());
|
||||
magnifierDepth->setWheelModifiers(Qt::ControlModifier);
|
||||
magnifierDepth->setAxisEnabled(QwtPlot::yLeft, true);
|
||||
magnifierDepth->setAxisEnabled(QwtPlot::yRight, false);
|
||||
magnifierDepth->setAxisEnabled(QwtPlot::xTop, false);
|
||||
magnifierDepth->setAxisEnabled(QwtPlot::xBottom, false);
|
||||
|
||||
QwtPlotPanner* panner = new QwtPlotPanner(canvas());
|
||||
panner->setAxisEnabled(QwtPlot::yLeft, true);
|
||||
|
Loading…
Reference in New Issue
Block a user