BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
JobViewActivities.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Job/JobViewActivities.h
6 //! @brief Defines class JobViewActivities
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_JOB_JOBVIEWACTIVITIES_H
16 #define BORNAGAIN_GUI_VIEW_JOB_JOBVIEWACTIVITIES_H
17 
19 #include <QMap>
20 #include <QStringList>
21 #include <QVector>
22 
24 
25 //! The JobViewActivities namespace is a helper to get info related to JobView activities
26 
27 namespace JobViewActivities {
28 
29 QList<JobViewActivity> all();
30 
31 QString name(JobViewActivity activity);
32 
33 QVector<JobViewFlags::Dock> activeDocks(JobViewActivity activity);
34 
35 } // namespace JobViewActivities
36 
37 #endif // BORNAGAIN_GUI_VIEW_JOB_JOBVIEWACTIVITIES_H
@ Fitting
the job is busy fitting
JobViewActivity
Defines class JobViewFlags.
The JobViewActivities namespace is a helper to get info related to JobView activities.
QString name(JobViewActivity activity)
Returns name of activity.
QVector< JobViewFlags::Dock > activeDocks(JobViewActivity activity)
Returns vector of JobView's dockId which have to be shown for given activity.
QList< JobViewActivity > all()
Returns list of all available activities.