BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
simulationview.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/mainwindow/simulationview.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI2_MAINWINDOW_SIMULATIONVIEW_H
16 #define BORNAGAIN_GUI2_MAINWINDOW_SIMULATIONVIEW_H
17 
18 #include "darefl_export.h"
19 #include <QMainWindow>
20 #include <memory>
21 
22 namespace ModelView {
23 class CollapsibleListWidget;
24 }
25 
26 namespace gui2 {
27 
28 class ApplicationModels;
29 class QuickSimEditor;
30 
31 //! Main simulation window with all components for quick sample editing and simulations.
32 
33 class DAREFLCORE_EXPORT SimulationView : public QMainWindow {
34  Q_OBJECT
35 
36 public:
37  SimulationView(ApplicationModels* models, QWidget* parent = nullptr);
38 
39 private:
40  void initEditorList();
41 
42  ModelView::CollapsibleListWidget* m_editorList{nullptr};
43  QuickSimEditor* m_simEditor{nullptr};
44  ApplicationModels* m_models{nullptr};
45 };
46 
47 } // namespace gui2
48 
49 #endif // BORNAGAIN_GUI2_MAINWINDOW_SIMULATIONVIEW_H
Vertical widget with column of panels displayed one under another.
Main class to holds all models of GUI session.
Quick reflectivity simulations.
Main simulation window with all components for quick sample editing and simulations.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20