From cc6052d77d9a90a477380abb5204f75621ccf21f Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Thu, 9 Nov 2023 21:03:18 +0100 Subject: [PATCH] corr name --- GUI/View/PlotUtil/ScientificPlot.h | 2 +- GUI/View/Projection/ProjectionsEditorCanvas.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/GUI/View/PlotUtil/ScientificPlot.h b/GUI/View/PlotUtil/ScientificPlot.h index 71acc513c9e..57a266c98eb 100644 --- a/GUI/View/PlotUtil/ScientificPlot.h +++ b/GUI/View/PlotUtil/ScientificPlot.h @@ -38,7 +38,7 @@ public: QCustomPlot* customPlot() { return m_plot; } const QCustomPlot* customPlot() const { return m_plot; } - PlotEventHelper* plotEvent() { return m_event_helper; } + PlotEventHelper* eventHelper() { return m_event_helper; } //! Tracks move events (used when showing profile histograms and printing status string) void setMouseTrackingEnabled(bool enable); diff --git a/GUI/View/Projection/ProjectionsEditorCanvas.cpp b/GUI/View/Projection/ProjectionsEditorCanvas.cpp index df6c25ae38c..27b3e1d0b81 100644 --- a/GUI/View/Projection/ProjectionsEditorCanvas.cpp +++ b/GUI/View/Projection/ProjectionsEditorCanvas.cpp @@ -183,22 +183,22 @@ void ProjectionsEditorCanvas::setConnected(bool isConnected) return; if (isConnected) { - connect(m_colorMap->plotEvent(), &PlotEventHelper::enteringPlot, this, + connect(m_colorMap->eventHelper(), &PlotEventHelper::enteringPlot, this, &ProjectionsEditorCanvas::onEnteringColorMap, Qt::UniqueConnection); - connect(m_colorMap->plotEvent(), &PlotEventHelper::leavingPlot, this, + connect(m_colorMap->eventHelper(), &PlotEventHelper::leavingPlot, this, &ProjectionsEditorCanvas::onLeavingColorMap, Qt::UniqueConnection); - connect(m_colorMap->plotEvent(), &PlotEventHelper::positionChanged, this, + connect(m_colorMap->eventHelper(), &PlotEventHelper::positionChanged, this, &ProjectionsEditorCanvas::onPositionChanged, Qt::UniqueConnection); connect(m_colorMap, &ColorMap::marginsChanged, this, &ProjectionsEditorCanvas::marginsChanged, Qt::UniqueConnection); } else { - disconnect(m_colorMap->plotEvent(), &PlotEventHelper::enteringPlot, this, + disconnect(m_colorMap->eventHelper(), &PlotEventHelper::enteringPlot, this, &ProjectionsEditorCanvas::onEnteringColorMap); - disconnect(m_colorMap->plotEvent(), &PlotEventHelper::leavingPlot, this, + disconnect(m_colorMap->eventHelper(), &PlotEventHelper::leavingPlot, this, &ProjectionsEditorCanvas::onLeavingColorMap); - disconnect(m_colorMap->plotEvent(), &PlotEventHelper::positionChanged, this, + disconnect(m_colorMap->eventHelper(), &PlotEventHelper::positionChanged, this, &ProjectionsEditorCanvas::onPositionChanged); disconnect(m_colorMap, &ColorMap::marginsChanged, this, &ProjectionsEditorCanvas::marginsChanged); -- GitLab