Skip to content
Snippets Groups Projects
Commit 5defb79f authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

use fwd declarations in DataItemBundleWidget

parent 89d118cd
No related branches found
No related tags found
1 merge request!1339GUI: fix masks and projections
Pipeline #88991 failed
......@@ -13,6 +13,8 @@
// ************************************************************************************************
#include "GUI/View/Common/DataItemBundleWidget.h"
#include "GUI/Model/Data/IntensityDataItem.h"
#include "GUI/Model/Data/SpecularDataItem.h"
DataItemBundleWidget::DataItemBundleWidget(QWidget* parent)
: QWidget(parent)
......
......@@ -15,10 +15,11 @@
#ifndef BORNAGAIN_GUI_VIEW_COMMON_DATAITEMBUNDLEWIDGET_H
#define BORNAGAIN_GUI_VIEW_COMMON_DATAITEMBUNDLEWIDGET_H
#include "GUI/Model/Data/IntensityDataItem.h"
#include "GUI/Model/Data/SpecularDataItem.h"
#include <QWidget>
class IntensityDataItem;
class SpecularDataItem;
//! The DataItemBundleWidget class is a base for widgets, representing the SpecularDataItem and
//! IntensityDataItem. It may store a list of SpecularDataItems that are required for
//! simultaneous, synchronous work while plotting and changing their properties.
......
......@@ -14,6 +14,7 @@
#include "GUI/View/Mask/ColorMapSceneAdaptor.h"
#include "GUI/View/PlotUtil/ColorMap.h"
#include <QEvent>
ColorMapSceneAdaptor::ColorMapSceneAdaptor()
: m_plot(nullptr)
......
......@@ -17,6 +17,7 @@
#include "GUI/View/PlotUtil/ColorMap.h"
#include "GUI/View/PlotUtil/FontScalingEvent.h"
#include "GUI/View/PlotUtil/PlotStatusLabel.h"
#include <QVBoxLayout>
ColorMapCanvas::ColorMapCanvas(QWidget* parent)
: QWidget(parent)
......
......@@ -20,6 +20,8 @@
#include "GUI/View/Plot2D/ColorMapCanvas.h"
#include "GUI/View/PlotUtil/ColorMap.h"
#include "GUI/View/PlotUtil/SavePlotAssistant.h"
#include "qcustomplot.h"
#include <QVBoxLayout>
namespace {
......
......@@ -15,6 +15,7 @@
#include "GUI/View/PlotComparison/FitComparisonWidget.h"
#include "Device/Histo/DiffUtil.h"
#include "GUI/Model/Data/IntensityDataItem.h"
#include "GUI/Model/Data/SpecularDataItem.h"
#include "GUI/Model/Job/FitSuiteItem.h"
#include "GUI/Model/Project/ProjectDocument.h"
#include "GUI/Util/ActionFactory.h"
......@@ -25,6 +26,7 @@
#include "GUI/View/PlotUtil/PlotStatusLabel.h"
#include "GUI/View/PlotUtil/RangeUtils.h"
#include <QAction>
#include <QVBoxLayout>
FitComparisonWidget::FitComparisonWidget(QWidget* parent)
: DataAccessWidget(parent)
......
......@@ -19,6 +19,10 @@
#include <memory>
class BasicAxisItem;
class QCPAxis;
class QCPErrorBars;
class QCPGraph;
class QCPRange;
class SpecularDataItem;
class UpdateTimer;
......
......@@ -20,6 +20,7 @@
#include "GUI/View/PlotUtil/PlotEventInfo.h"
#include "GUI/View/PlotUtil/RangeUtils.h"
#include "GUI/View/Tool/UpdateTimer.h"
#include "qcustomplot.h"
namespace {
......
......@@ -18,6 +18,10 @@
#include "GUI/View/PlotUtil/ScientificPlot.h"
class IntensityDataItem;
class QCPRange;
class QCPColorScale;
class QCPColorMap;
class QCPLayoutGrid;
class UpdateTimer;
//! The ColorMap class presents 2D intensity data from IntensityDataItem as color map.
......
......@@ -17,6 +17,7 @@
#include "Device/IO/IOFactory.h"
#include "GUI/Application/ApplicationSettings.h"
#include "GUI/View/PlotUtil/ColorMap.h"
#include "qcustomplot.h"
#include <QFileDialog>
#include <QMessageBox>
#include <QVector>
......
......@@ -23,7 +23,10 @@
class Datafield;
class IntensityDataItem;
class MaskItem;
class MaskItemObject;
class ProjectionContainerItem;
class QCPGraph;
class QCustomPlot;
//! A customplot based widget to display projections of IntensityDataItem on X,Y axes.
......
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