mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
#13176 Use guarded pointers for highlighted curves
This commit is contained in:
1 parent
7c8aadcd60
commit
b6f0164de7
3 files changed
+17
-13
No files matched your search
@@ -162,10 +162,10 @@ public:
|
||||
|
||||
QwtAxisId toQwtPlotAxis( RiuPlotAxis axis ) const;
|
||||
|
||||
void highlightPlotItem( const QwtPlotItem* plotItem );
|
||||
void highlightCurvesUpdateOrder( const std::vector<RimPlotCurve*>& curves );
|
||||
void resetPlotItemHighlighting( bool doUpdateCurveOrder = true );
|
||||
std::vector<RimPlotCurve*> highlightedCurves() const;
|
||||
void highlightPlotItem( const QwtPlotItem* plotItem );
|
||||
void highlightCurvesUpdateOrder( const std::vector<RimPlotCurve*>& curves );
|
||||
void resetPlotItemHighlighting( bool doUpdateCurveOrder = true );
|
||||
std::vector<caf::PdmPointer<RimPlotCurve>> highlightedCurves() const;
|
||||
|
||||
void replot() override;
|
||||
|
||||
@@ -231,9 +231,9 @@ private:
|
||||
int lineWidth;
|
||||
};
|
||||
|
||||
std::map<QwtPlotCurve*, double> m_originalZValues;
|
||||
std::vector<RimPlotCurve*> m_hightlightedCurves;
|
||||
std::map<RiuPlotAxis, QwtAxisId> m_axisMapping;
|
||||
std::map<QwtPlotCurve*, double> m_originalZValues;
|
||||
std::vector<caf::PdmPointer<RimPlotCurve>> m_highlightedCurves;
|
||||
std::map<RiuPlotAxis, QwtAxisId> m_axisMapping;
|
||||
|
||||
QPointer<QwtPlot> m_plot;
|
||||
|
||||
|
||||
Reference in new issue
Block a user