BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
layerelementitem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/sldeditor/layerelementitem.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_SLDEDITOR_LAYERELEMENTITEM_H
16 #define BORNAGAIN_GUI2_SLDEDITOR_LAYERELEMENTITEM_H
17 
18 #include "darefl_export.h"
21 
22 namespace gui2 {
23 
24 //! The mvvm session item associated to a layer
25 class DAREFLCORE_EXPORT LayerElementItem : public ModelView::CompoundItem {
26 public:
27  static inline const std::string P_X_POS = "P_X_POS";
28  static inline const std::string P_WIDTH = "P_WIDTH";
29  static inline const std::string P_HEIGHT = "P_HEIGHT";
30  static inline const std::string P_ROUGHNESS = "P_ROUGHNESS";
31 
32  static inline const std::string P_SIDE_THICKNESS = "P_SIDE_THICKNESS";
33  static inline const std::string P_SIDE_BRUSH_COLOR = "P_SIDE_BRUSH_COLOR";
34  static inline const std::string P_SIDE_PEN_WIDTH = "P_SIDE_PEN_WIDTH";
35  static inline const std::string P_SIDE_PEN_COLOR = "P_SIDE_PEN_COLOR";
36 
37  static inline const std::string P_TOP_THICKNESS = "P_TOP_THICKNESS";
38  static inline const std::string P_TOP_BRUSH_COLOR = "P_TOP_BRUSH_COLOR";
39  static inline const std::string P_TOP_PEN_WIDTH = "P_TOP_PEN_WIDTH";
40  static inline const std::string P_TOP_PEN_COLOR = "P_TOP_PEN_COLOR";
41 
42  static inline const std::string P_HANDLE_RADIUS = "P_HANDLE_RADIUS";
43  static inline const std::string P_HANDLE_BRUSH_COLOR = "P_HANDLE_BRUSH_COLOR";
44  static inline const std::string P_HANDLE_PEN_WIDTH = "P_HANDLE_PEN_WIDTH";
45  static inline const std::string P_HANDLE_PEN_COLOR = "P_HANDLE_PEN_COLOR";
46 
47  static inline const std::string P_ROUGHNESS_BRUSH_COLOR = "P_ROUGHNESS_BRUSH_COLOR";
48  static inline const std::string P_ROUGHNESS_PEN_WIDTH = "P_ROUGHNESS_PEN_WIDTH";
49  static inline const std::string P_ROUGHNESS_PEN_COLOR = "P_ROUGHNESS_PEN_COLOR";
50 
51  static inline const std::string P_R_HANDLE_RADIUS = "P_R_HANDLE_RADIUS";
52  static inline const std::string P_R_HANDLE_BRUSH_COLOR = "P_R_HANDLE_BRUSH_COLOR";
53  static inline const std::string P_R_HANDLE_PEN_WIDTH = "P_R_HANDLE_PEN_WIDTH";
54  static inline const std::string P_R_HANDLE_PEN_COLOR = "P_R_HANDLE_PEN_COLOR";
55 
57 };
58 
59 } // namespace gui2
60 
61 #endif // BORNAGAIN_GUI2_SLDEDITOR_LAYERELEMENTITEM_H
Complex item holding mixed SessionItem types (single properties and other CompountItems).
Definition: compounditem.h:28
The mvvm session item associated to a layer.
Defines class CLASS?
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20
Defines class CLASS?