BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
editor_constants.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // qt-mvvm: Model-view-view-model framework for large GUI applications
4 //
5 //! @file mvvm/viewmodel/mvvm/editors/editor_constants.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 Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_EDITOR_CONSTANTS_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_EDITOR_CONSTANTS_H
17 
18 //! @file mvvm/viewmodel/mvvm/editors/editor_constants.h
19 //! Collection of constants specific for cell editing.
20 
21 #include <string>
22 
23 namespace ModelView {
24 
25 namespace Constants {
26 
27 const std::string BoolEditorType = "BoolEditor";
28 const std::string ColorEditorType = "ColorEditor";
29 const std::string ComboPropertyEditorType = "ComboPropertyEditor";
30 const std::string DoubleEditorType = "DoubleEditor";
31 const std::string ExternalPropertyEditorType = "ExternalPropertyEditor";
32 const std::string IntegerEditorType = "IntegerEditor";
33 const std::string ScientficDoubleEditorType = "ScientficDoubleEditor";
34 const std::string ScientficSpinBoxEditorType = "ScientficSpinBoxEditor";
35 const std::string SelectableComboPropertyEditorType = "SelectableComboPropertyEditor";
36 
37 const int default_double_decimals = 4; //! number of digits after decimal points
38 
39 } // namespace Constants
40 
41 } // namespace ModelView
42 
43 #endif // BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_EDITOR_CONSTANTS_H
const std::string SelectableComboPropertyEditorType
const std::string ComboPropertyEditorType
const std::string ExternalPropertyEditorType
const std::string ScientficSpinBoxEditorType
const std::string ColorEditorType
const std::string ScientficDoubleEditorType
const std::string BoolEditorType
const std::string DoubleEditorType
const std::string IntegerEditorType
const int default_double_decimals
materialitems.h Collection of materials to populate MaterialModel.