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

member -> local

parent cfa132a7
No related branches found
No related tags found
1 merge request!2445frames and axis panels now stateless, and created at startup
Pipeline #134061 passed
...@@ -33,7 +33,6 @@ Fit2DFrame::Fit2DFrame() ...@@ -33,7 +33,6 @@ Fit2DFrame::Fit2DFrame()
: m_real_canvas(new ColorMapCanvas) : m_real_canvas(new ColorMapCanvas)
, m_simu_canvas(new ColorMapCanvas) , m_simu_canvas(new ColorMapCanvas)
, m_diff_canvas(new ColorMapCanvas) , m_diff_canvas(new ColorMapCanvas)
, m_progress_canvas(new ProgressCanvas)
, m_status_label(new PlotStatusLabel(nullptr)) , m_status_label(new PlotStatusLabel(nullptr))
, m_reset_view_action(new QAction(this)) , m_reset_view_action(new QAction(this))
{ {
...@@ -48,7 +47,8 @@ Fit2DFrame::Fit2DFrame() ...@@ -48,7 +47,8 @@ Fit2DFrame::Fit2DFrame()
gridLayout->addWidget(m_real_canvas, 0, 0); gridLayout->addWidget(m_real_canvas, 0, 0);
gridLayout->addWidget(m_simu_canvas, 0, 1); gridLayout->addWidget(m_simu_canvas, 0, 1);
gridLayout->addWidget(m_diff_canvas, 1, 0); gridLayout->addWidget(m_diff_canvas, 1, 0);
gridLayout->addWidget(m_progress_canvas, 1, 1); auto* progress_canvas = new ProgressCanvas;
gridLayout->addWidget(progress_canvas, 1, 1);
vlayout->addLayout(gridLayout); vlayout->addLayout(gridLayout);
vlayout->addWidget(m_status_label); vlayout->addWidget(m_status_label);
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
class ColorMapCanvas; class ColorMapCanvas;
class DataSource; class DataSource;
class PlotStatusLabel; class PlotStatusLabel;
class ProgressCanvas;
//! Plots realdata, simulated data and relative difference map during the course of the fit. //! Plots realdata, simulated data and relative difference map during the course of the fit.
...@@ -41,7 +40,6 @@ private: ...@@ -41,7 +40,6 @@ private:
ColorMapCanvas* m_real_canvas; ColorMapCanvas* m_real_canvas;
ColorMapCanvas* m_simu_canvas; ColorMapCanvas* m_simu_canvas;
ColorMapCanvas* m_diff_canvas; ColorMapCanvas* m_diff_canvas;
ProgressCanvas* m_progress_canvas;
PlotStatusLabel* m_status_label; PlotStatusLabel* m_status_label;
QAction* m_reset_view_action; QAction* m_reset_view_action;
......
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