BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
JobSelectorToolBar.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/JobSelectorToolBar.h
6 //! @brief Defines class JobSelectorToolBar
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_JOBSELECTORTOOLBAR_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_JOBWIDGETS_JOBSELECTORTOOLBAR_H
17 
19 
20 class QAction;
21 class QToolButton;
22 class JobSelectorActions;
23 
24 //! Styled tool bar on top of JobSelector with run/remove job buttons.
25 
27  Q_OBJECT
28 
29 public:
30  explicit JobSelectorToolBar(JobSelectorActions* actions, QWidget* parent = nullptr);
31 
32 private:
33  QToolButton* m_runJobButton;
34  QToolButton* m_removeJobButton;
35 };
36 
37 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_JOBWIDGETS_JOBSELECTORTOOLBAR_H
Defines class StyledToolBar.
The JobSelectorActions class contains actions to run/remove jobs.
Styled tool bar on top of JobSelector with run/remove job buttons.
QToolButton * m_removeJobButton
JobSelectorToolBar(JobSelectorActions *actions, QWidget *parent=nullptr)
QToolButton * m_runJobButton
The StyledToolBar class represents our standard narrow toolbar with the height 24 pixels.
Definition: StyledToolBar.h:22