BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
MaskEditorFlags.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Mask/MaskEditorFlags.h
6 //! @brief Defines class MaskEditorFlags
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_VIEW_MASK_MASKEDITORFLAGS_H
16 #define BORNAGAIN_GUI_VIEW_MASK_MASKEDITORFLAGS_H
17 
18 #include <QWidget>
19 
20 //! Help class to define various flags for MaskEditor operation
21 
23 public:
35  };
36  Q_DECLARE_FLAGS(Activity, EActivityType)
37 
39  Q_DECLARE_FLAGS(Stacking, EMoveType)
40 
42  Q_DECLARE_FLAGS(MaskValue, EMaskValue)
43 
45  Q_DECLARE_FLAGS(PresentationType, EPresentationType)
46 };
47 
48 Q_DECLARE_OPERATORS_FOR_FLAGS(MaskEditorFlags::Activity)
49 Q_DECLARE_OPERATORS_FOR_FLAGS(MaskEditorFlags::Stacking)
50 Q_DECLARE_OPERATORS_FOR_FLAGS(MaskEditorFlags::MaskValue)
51 Q_DECLARE_OPERATORS_FOR_FLAGS(MaskEditorFlags::PresentationType)
52 
53 #endif // BORNAGAIN_GUI_VIEW_MASK_MASKEDITORFLAGS_H
Help class to define various flags for MaskEditor operation.