#871 Keep new zoom settings when toggling the curves/curve filter

This commit is contained in:
Jacob Støren
2016-10-05 13:56:27 +02:00
parent b3657bcf43
commit b2728b070b
6 changed files with 49 additions and 26 deletions

View File

@@ -36,6 +36,7 @@ class RimSummaryPlot;
//==================================================================================================
class RiuSummaryQwtPlot : public QwtPlot
{
Q_OBJECT;
public:
RiuSummaryQwtPlot(RimSummaryPlot* plotDefinition, QWidget* parent = NULL);
virtual ~RiuSummaryQwtPlot();
@@ -54,10 +55,13 @@ private:
void setDefaults();
void selectClosestCurve(const QPoint& pos);
private slots:
void onZoomedSlot( );
private:
QwtPlotGrid* m_grid;
caf::PdmPointer<RimSummaryPlot> m_plotDefinition;
QPointer<QwtPlotZoomer> zoomer;
QPointer<QwtPlotZoomer> m_zoomer;
};