Skip to content
Snippets Groups Projects
Commit cc6052d7 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

corr name

parent 1f0812fe
No related branches found
No related tags found
1 merge request!2101cleanup of GUI/Masks ctd; decouple MaskGraphicsProxy from SceneAdaptor
Pipeline #118979 passed
......@@ -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);
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment