mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8387 from OPM/qtcharts-summary-plots
Closes #8228 Major refactoring of summary plotting. Now possible to create plots both with Qwt and QtChart as plotting tool.
This commit is contained in:
committed by
GitHub
parent
d9bb82de91
commit
258fbddc10
@@ -17,7 +17,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma once
|
||||
|
||||
#include "RiuInterfaceToViewWindow.h"
|
||||
#include "RiuPlotAnnotationTool.h"
|
||||
#include "RiuQwtPlotWidget.h"
|
||||
|
||||
@@ -58,7 +57,7 @@ public:
|
||||
|
||||
void updateAnnotationObjects( RimPlotAxisPropertiesInterface* axisProperties );
|
||||
|
||||
void setLegendFontSize( int fontSize );
|
||||
void setLegendFontSize( int fontSize ) override;
|
||||
void setInternalQwtLegendVisible( bool visible );
|
||||
|
||||
protected:
|
||||
@@ -68,7 +67,7 @@ protected:
|
||||
|
||||
private slots:
|
||||
void onZoomedSlot();
|
||||
void onPlotItemSelected( QwtPlotItem* selectedItem, bool toggleItem, int sampleIndex );
|
||||
void onPlotItemSelected( std::shared_ptr<RiuPlotItem> selectedItem, bool toggleItem, int sampleIndex );
|
||||
|
||||
private:
|
||||
std::unique_ptr<RiuPlotAnnotationTool> m_annotationTool;
|
||||
|
||||
Reference in New Issue
Block a user