BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SimulationOptionsWidget.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/SimulationWidgets/SimulationOptionsWidget.h
6 //! @brief Defines class SimulationOptionsWidget
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_SIMULATIONWIDGETS_SIMULATIONOPTIONSWIDGET_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_SIMULATIONWIDGETS_SIMULATIONOPTIONSWIDGET_H
17 
18 #include <QWidget>
19 
21 class ComponentFlatView;
22 
23 //! Holds widgets related to the setup of simulation/job options (nthreads, run policy,
24 //! computation method). Part of SimulationView/SimulationSetupWidet
25 
26 class SimulationOptionsWidget : public QWidget {
27  Q_OBJECT
28 
29 public:
30  SimulationOptionsWidget(QWidget* parent = nullptr);
31 
32  void setItem(SimulationOptionsItem* item);
33 
34 private:
36 };
37 
38 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_SIMULATIONWIDGETS_SIMULATIONOPTIONSWIDGET_H
Component property widget for SessionItems.
The SimulationOptionsItem class holds simulation status (run policy, number of threads,...
Holds widgets related to the setup of simulation/job options (nthreads, run policy,...
SimulationOptionsWidget(QWidget *parent=nullptr)
void setItem(SimulationOptionsItem *item)
ComponentFlatView * m_boxEditor