BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
JobMessagePanel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Fit/JobMessagePanel.h
6 //! @brief Defines class JobMessagePanel
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_FIT_JOBMESSAGEPANEL_H
16 #define BORNAGAIN_GUI_VIEW_FIT_JOBMESSAGEPANEL_H
17 
18 #include "GUI/View/Fit/FitLog.h"
19 #include <QColor>
20 #include <QTextEdit>
21 
22 //! The JobMessagePanel class shows log messages from FitActivityPanel at the
23 //! bottom part of JobView.
24 
25 class JobMessagePanel : public QTextEdit {
26  Q_OBJECT
27 public:
28  JobMessagePanel(QWidget* parent = nullptr);
29 
30  void appendMessage(const FitLog::Message& message);
31  void setLog(FitLog* log);
32 
33 private:
35 };
36 
37 #endif // BORNAGAIN_GUI_VIEW_FIT_JOBMESSAGEPANEL_H
Defines class FitLog.
the collected messages of a fitting session
Definition: FitLog.h:27
The JobMessagePanel class shows log messages from FitActivityPanel at the bottom part of JobView.
JobMessagePanel(QWidget *parent=nullptr)
void appendMessage(const FitLog::Message &message)
void setLog(FitLog *log)