BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Classes | |
struct | Message |
Signals | |
void | cleared () |
void | messageAppended (const Message &message) |
Public Member Functions | |
FitLog (QObject *parent=nullptr) | |
void | append (const std::string &text, FitLogLevel level) |
void | clearLog () |
const std::vector< Message > & | messages () const |
Private Attributes | |
std::vector< Message > | m_messages |
FitLog::FitLog | ( | QObject * | parent = nullptr | ) |
Definition at line 17 of file FitLog.cpp.
void FitLog::append | ( | const std::string & | text, |
FitLogLevel | level | ||
) |
Definition at line 22 of file FitLog.cpp.
References m_messages, and messageAppended().
|
signal |
Referenced by clearLog(), and JobMessagePanel::setLog().
void FitLog::clearLog | ( | ) |
Definition at line 29 of file FitLog.cpp.
References cleared(), and m_messages.
|
signal |
Referenced by append(), and JobMessagePanel::setLog().
const std::vector< FitLog::Message > & FitLog::messages | ( | ) | const |
Definition at line 35 of file FitLog.cpp.
References m_messages.
Referenced by JobMessagePanel::setLog().
|
private |
Definition at line 46 of file FitLog.h.
Referenced by append(), clearLog(), and messages().