BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Reports back status string composed for current mouse position in QCustomPlot. More...
Classes | |
struct | StatusStringReporterImpl |
Public Types | |
using | callback_t = std::function< void(const std::string &)> |
Public Member Functions | |
StatusStringReporter (QCustomPlot *custom_plot, callback_t callback, std::unique_ptr< StatusStringFormatterInterface > formatter) | |
~StatusStringReporter () | |
Private Attributes | |
std::unique_ptr< StatusStringReporterImpl > | p_impl |
Reports back status string composed for current mouse position in QCustomPlot.
Doesn't report if cursor is outside of the axes range.
Definition at line 32 of file statusstringreporter.h.
using ModelView::StatusStringReporter::callback_t = std::function<void(const std::string&)> |
Definition at line 34 of file statusstringreporter.h.
StatusStringReporter::StatusStringReporter | ( | QCustomPlot * | custom_plot, |
callback_t | callback, | ||
std::unique_ptr< StatusStringFormatterInterface > | formatter | ||
) |
Definition at line 80 of file statusstringreporter.cpp.
|
default |
|
private |
Definition at line 41 of file statusstringreporter.h.