Skip to content
Snippets Groups Projects
Commit 1713c9ed authored by Matthias Puchner's avatar Matthias Puchner Committed by Wuttke, Joachim
Browse files

rm unused FitResultsWidget

parent 1524e281
No related branches found
No related tags found
1 merge request!565further consequences of big refactoring
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/View/Fit/FitResultsWidget.cpp
//! @brief Implements class FitResultsWidget
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#include "GUI/View/Fit/FitResultsWidget.h"
FitResultsWidget::FitResultsWidget(QWidget* parent) : QWidget(parent)
{
setWindowTitle(QLatin1String("Fit Results"));
}
// ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/View/Fit/FitResultsWidget.h
//! @brief Defines class FitResultsWidget
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
//! @copyright Forschungszentrum Jülich GmbH 2018
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
//
// ************************************************************************************************
#ifndef BORNAGAIN_GUI_VIEW_FIT_FITRESULTSWIDGET_H
#define BORNAGAIN_GUI_VIEW_FIT_FITRESULTSWIDGET_H
#include <QWidget>
//! The FitResultsWidget contains fitting summary. Part of FitSuiteWidget.
class FitResultsWidget : public QWidget {
Q_OBJECT
public:
FitResultsWidget(QWidget* parent = nullptr);
};
#endif // BORNAGAIN_GUI_VIEW_FIT_FITRESULTSWIDGET_H
......@@ -15,7 +15,6 @@
#include "GUI/View/Fit/FitSessionWidget.h"
#include "GUI/Model/Job/JobItem.h"
#include "GUI/View/Fit/FitParameterWidget.h"
#include "GUI/View/Fit/FitResultsWidget.h"
#include "GUI/View/Fit/FitSessionController.h"
#include "GUI/View/Fit/MinimizerSettingsWidget.h"
#include "GUI/View/Fit/RunFitControlWidget.h"
......@@ -29,8 +28,6 @@ FitSessionWidget::FitSessionWidget(QWidget* parent)
, m_controlWidget(new RunFitControlWidget)
, m_fitParametersWidget(new FitParameterWidget)
, m_minimizerSettingsWidget(new MinimizerSettingsWidget)
// , m_fitResultsWidget(new FitResultsWidget)
, m_fitResultsWidget(nullptr) // temporary replacement to fix a memory leak
, m_sessionController(nullptr)
{
auto* layout = new QVBoxLayout;
......@@ -40,7 +37,6 @@ FitSessionWidget::FitSessionWidget(QWidget* parent)
m_tabWidget->addTab(m_fitParametersWidget, "Fit Parameters");
m_tabWidget->addTab(m_minimizerSettingsWidget, "Minimizer");
// m_tabWidget->addTab(m_fitResultsWidget, "Fit Results");
layout->addWidget(m_tabWidget);
layout->addWidget(m_controlWidget);
......
......@@ -23,7 +23,6 @@ class RunFitControlWidget;
class JobItem;
class FitParameterWidget;
class MinimizerSettingsWidget;
class FitResultsWidget;
class ParameterTuningWidget;
class FitSessionController;
......@@ -51,7 +50,6 @@ private:
RunFitControlWidget* m_controlWidget;
FitParameterWidget* m_fitParametersWidget;
MinimizerSettingsWidget* m_minimizerSettingsWidget;
FitResultsWidget* m_fitResultsWidget;
FitSessionController* m_sessionController;
};
......
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