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
18
#include "
GUI/coregui/mainwindow/StyledToolBar.h
"
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
26
class
JobSelectorToolBar
:
public
StyledToolBar
{
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
StyledToolBar.h
Defines class StyledToolBar.
JobSelectorActions
The JobSelectorActions class contains actions to run/remove jobs.
Definition:
JobSelectorActions.h:30
JobSelectorToolBar
Styled tool bar on top of JobSelector with run/remove job buttons.
Definition:
JobSelectorToolBar.h:26
JobSelectorToolBar::m_removeJobButton
QToolButton * m_removeJobButton
Definition:
JobSelectorToolBar.h:34
JobSelectorToolBar::JobSelectorToolBar
JobSelectorToolBar(JobSelectorActions *actions, QWidget *parent=nullptr)
Definition:
JobSelectorToolBar.cpp:19
JobSelectorToolBar::m_runJobButton
QToolButton * m_runJobButton
Definition:
JobSelectorToolBar.h:33
StyledToolBar
The StyledToolBar class represents our standard narrow toolbar with the height 24 pixels.
Definition:
StyledToolBar.h:22
GUI
coregui
Views
JobWidgets
JobSelectorToolBar.h
Generated by
1.9.1