#8676 QtChart : Create curve legend widget for multiplot

This commit is contained in:
Magne Sjaastad
2022-03-23 13:07:08 +01:00
parent f45637b7f0
commit 696c6a15fa
14 changed files with 267 additions and 25 deletions

View File

@@ -35,6 +35,7 @@ class QWheelEvent;
class RiuPlotWidget;
class RiuPlotCurve;
class RiuPlotItem;
class RimPlotCurve;
//==================================================================================================
///
@@ -101,6 +102,8 @@ public:
virtual caf::PdmObject* findPdmObjectFromPlotCurve( const RiuPlotCurve* curve ) const;
virtual void handleDroppedObjects( const std::vector<caf::PdmObjectHandle*>& objects );
virtual std::vector<RimPlotCurve*> visibleCurvesForLegend();
protected:
virtual RiuPlotWidget* doCreatePlotViewWidget( QWidget* parent ) = 0;