BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
sldeditortoolbar.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/sldeditor/sldeditortoolbar.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI2_SLDEDITOR_SLDEDITORTOOLBAR_H
16 #define BORNAGAIN_GUI2_SLDEDITOR_SLDEDITORTOOLBAR_H
17 
18 #include "darefl_export.h"
19 #include <QToolBar>
20 
21 namespace gui2 {
22 
23 class SLDEditorActions;
24 
25 //! Material editor toolbar.
26 
27 class DAREFLCORE_EXPORT SLDEditorToolBar : public QToolBar {
28  Q_OBJECT
29 
30 public:
31  SLDEditorToolBar(SLDEditorActions* actions, QWidget* parent = nullptr);
32  ~SLDEditorToolBar() = default;
33 
34 signals:
35  void resetViewport();
36 };
37 
38 } // namespace gui2
39 
40 #endif // BORNAGAIN_GUI2_SLDEDITOR_SLDEDITORTOOLBAR_H
Handles user actions applied to SLDEditor.
Material editor toolbar.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20