#4258 Rename Grid Cross Plot "Curve Sets" to "Data Sets". Also renamed code

* Kept XML-strings to avoid breaking compatibility
This commit is contained in:
Gaute Lindkvist
2019-03-29 13:17:39 +01:00
parent 014f389fe3
commit 59229b89b7
25 changed files with 266 additions and 266 deletions

View File

@@ -27,7 +27,7 @@
#include <memory>
class RimGridCrossPlotCurveSet;
class RimGridCrossPlotDataSet;
class RimPlotAxisProperties;
class RiuCvfOverlayItemWidget;
class RiuDraggableOverlayFrame;
@@ -50,8 +50,8 @@ class RiuGridCrossQwtPlot : public RiuQwtPlot
public:
RiuGridCrossQwtPlot(RimViewWindow* ownerViewWindow, QWidget* parent = nullptr);
~RiuGridCrossQwtPlot();
void addOrUpdateCurveSetLegend(RimGridCrossPlotCurveSet* curveSetToShowLegendFor);
void removeCurveSetLegend(RimGridCrossPlotCurveSet* curveSetToShowLegendFor);
void addOrUpdateDataSetLegend(RimGridCrossPlotDataSet* dataSetToShowLegendFor);
void removeDataSetLegend(RimGridCrossPlotDataSet* dataSetToShowLegendFor);
void updateLegendSizesToMatchPlot();
void updateAnnotationObjects(RimPlotAxisProperties* axisProperties);
@@ -67,12 +67,12 @@ protected:
void clearSampleSelection() override;
bool curveText(const QwtPlotCurve* curve, QString* curveTitle, QString* xParamName, QString* yParamName) const;
private:
typedef caf::PdmPointer<RimGridCrossPlotCurveSet> CurveSetPtr;
typedef caf::PdmPointer<RimGridCrossPlotDataSet> DataSetPtr;
typedef QPointer<RiuCvfOverlayItemWidget> LegendPtr;
typedef QPointer<RiuDraggableOverlayFrame> InfoBoxPtr;
InfoBoxPtr m_infoBox;
std::map<CurveSetPtr, LegendPtr> m_legendWidgets;
std::map<DataSetPtr, LegendPtr> m_legendWidgets;
std::unique_ptr<RiuPlotAnnotationTool> m_annotationTool;
QwtPlotMarker* m_selectedPointMarker;