From 911cd19c5eb22c7febfd275f9d947b47cb5298c2 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Sun, 19 Dec 2021 11:32:32 +0100
Subject: [PATCH] mv Plot1D

---
 GUI/View/Compare/FitComparisonWidget1D.cpp      | 2 +-
 GUI/View/{Intensity => SpecularData}/Plot1D.cpp | 4 ++--
 GUI/View/{Intensity => SpecularData}/Plot1D.h   | 8 ++++----
 GUI/View/SpecularData/Plot1DCanvas.cpp          | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
 rename GUI/View/{Intensity => SpecularData}/Plot1D.cpp (99%)
 rename GUI/View/{Intensity => SpecularData}/Plot1D.h (94%)

diff --git a/GUI/View/Compare/FitComparisonWidget1D.cpp b/GUI/View/Compare/FitComparisonWidget1D.cpp
index 566d8cebdfa..2564f7f47c8 100644
--- a/GUI/View/Compare/FitComparisonWidget1D.cpp
+++ b/GUI/View/Compare/FitComparisonWidget1D.cpp
@@ -20,7 +20,7 @@
 #include "GUI/Util/ActionFactory.h"
 #include "GUI/View/Compare/FitComparisonViewController.h"
 #include "GUI/View/Compare/FitFlowWidget.h"
-#include "GUI/View/Intensity/Plot1D.h"
+#include "GUI/View/SpecularData/Plot1D.h"
 #include "GUI/View/Intensity/PlotStatusLabel.h"
 #include "GUI/View/PropertyEditor/SpecularDataPropertyWidget.h"
 #include "GUI/View/SpecularData/Plot1DCanvas.h"
diff --git a/GUI/View/Intensity/Plot1D.cpp b/GUI/View/SpecularData/Plot1D.cpp
similarity index 99%
rename from GUI/View/Intensity/Plot1D.cpp
rename to GUI/View/SpecularData/Plot1D.cpp
index f398c39798b..7d6b5ebc499 100644
--- a/GUI/View/Intensity/Plot1D.cpp
+++ b/GUI/View/SpecularData/Plot1D.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Intensity/Plot1D.cpp
+//! @file      GUI/View/SpecularData/Plot1D.cpp
 //! @brief     Implements class Plot1D
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,7 +12,7 @@
 //
 //  ************************************************************************************************
 
-#include "GUI/View/Intensity/Plot1D.h"
+#include "GUI/View/SpecularData/Plot1D.h"
 #include "GUI/Model/Data/AxesItems.h"
 #include "GUI/Model/Data/Data1DViewItem.h"
 #include "GUI/Model/Data/DataItem.h"
diff --git a/GUI/View/Intensity/Plot1D.h b/GUI/View/SpecularData/Plot1D.h
similarity index 94%
rename from GUI/View/Intensity/Plot1D.h
rename to GUI/View/SpecularData/Plot1D.h
index 14790ed6d39..bd1ea394bff 100644
--- a/GUI/View/Intensity/Plot1D.h
+++ b/GUI/View/SpecularData/Plot1D.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Intensity/Plot1D.h
+//! @file      GUI/View/SpecularData/Plot1D.h
 //! @brief     Defines class Plot1D
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_INTENSITY_PLOT1D_H
-#define BORNAGAIN_GUI_VIEW_INTENSITY_PLOT1D_H
+#ifndef BORNAGAIN_GUI_VIEW_SPECULARDATA_PLOT1D_H
+#define BORNAGAIN_GUI_VIEW_SPECULARDATA_PLOT1D_H
 
 #include "GUI/View/Intensity/ScientificPlot.h"
 #include <qcustomplot.h>
@@ -112,4 +112,4 @@ private:
     bool m_block_update;
 };
 
-#endif // BORNAGAIN_GUI_VIEW_INTENSITY_PLOT1D_H
+#endif // BORNAGAIN_GUI_VIEW_SPECULARDATA_PLOT1D_H
diff --git a/GUI/View/SpecularData/Plot1DCanvas.cpp b/GUI/View/SpecularData/Plot1DCanvas.cpp
index 5aed16a5a53..2c197dc2ed5 100644
--- a/GUI/View/SpecularData/Plot1DCanvas.cpp
+++ b/GUI/View/SpecularData/Plot1DCanvas.cpp
@@ -14,7 +14,7 @@
 
 #include "GUI/View/SpecularData/Plot1DCanvas.h"
 #include "GUI/View/Intensity/FontScalingEvent.h"
-#include "GUI/View/Intensity/Plot1D.h"
+#include "GUI/View/SpecularData/Plot1D.h"
 #include "GUI/View/Intensity/PlotStatusLabel.h"
 #include <QVBoxLayout>
 
-- 
GitLab