BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
JobViewFlags.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/JobWidgets/JobViewFlags.h
6 //! @brief Defines class JobViewFlags
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_JOBWIDGETS_JOBVIEWFLAGS_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_JOBWIDGETS_JOBVIEWFLAGS_H
17 
18 #include <QWidget>
19 
20 //! The JobViewFlags class is a namespace for various flags used in JobView.
21 
22 class JobViewFlags {
23 public:
24  enum EDocksId {
30  };
31  Q_DECLARE_FLAGS(Dock, EDocksId)
32 
33  enum EActivities {
37  };
38  Q_DECLARE_FLAGS(Activity, EActivities)
39 };
40 
41 Q_DECLARE_OPERATORS_FOR_FLAGS(JobViewFlags::Dock)
42 Q_DECLARE_OPERATORS_FOR_FLAGS(JobViewFlags::Activity)
43 
44 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_JOBWIDGETS_JOBVIEWFLAGS_H
The JobViewFlags class is a namespace for various flags used in JobView.
Definition: JobViewFlags.h:22