|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
| StatusStringReporterImpl (StatusStringReporter *parent, QCustomPlot *custom_plot, callback_t callback, std::unique_ptr< StatusStringFormatterInterface > formatter) | |
| void | entering_the_area () |
| Notify client on entering axes area. More... | |
| void | leaving_the_area () |
| Notify client on leaving axes area. More... | |
| void | notify_client (const MousePosInfo &pos) |
| Notify client about mouse move with formatted status string. More... | |
Public Attributes | |
| callback_t | callback |
| QCustomPlot * | custom_plot {nullptr} |
| std::unique_ptr< StatusStringFormatterInterface > | fmt |
| std::unique_ptr< MouseMoveReporter > | mouse_reporter |
| StatusStringReporter * | parent {nullptr} |
| MousePosInfo | prevPos |
Definition at line 23 of file statusstringreporter.cpp.
|
inline |
Definition at line 31 of file statusstringreporter.cpp.
References ModelView::StatusStringReporter::StatusStringReporterImpl::custom_plot, ModelView::StatusStringReporter::StatusStringReporterImpl::entering_the_area(), ModelView::MousePosInfo::in_axes_range, ModelView::StatusStringReporter::StatusStringReporterImpl::leaving_the_area(), ModelView::StatusStringReporter::StatusStringReporterImpl::mouse_reporter, ModelView::StatusStringReporter::StatusStringReporterImpl::notify_client(), and ModelView::StatusStringReporter::StatusStringReporterImpl::prevPos.
|
inline |
Notify client on entering axes area.
Definition at line 74 of file statusstringreporter.cpp.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::StatusStringReporterImpl().
|
inline |
Notify client on leaving axes area.
Definition at line 66 of file statusstringreporter.cpp.
References ModelView::StatusStringReporter::StatusStringReporterImpl::callback.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::StatusStringReporterImpl().
|
inline |
Notify client about mouse move with formatted status string.
Definition at line 59 of file statusstringreporter.cpp.
References ModelView::StatusStringReporter::StatusStringReporterImpl::callback, ModelView::StatusStringReporter::StatusStringReporterImpl::fmt, ModelView::MousePosInfo::xpos, and ModelView::MousePosInfo::ypos.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::StatusStringReporterImpl().
| callback_t ModelView::StatusStringReporter::StatusStringReporterImpl::callback |
Definition at line 26 of file statusstringreporter.cpp.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::leaving_the_area(), and ModelView::StatusStringReporter::StatusStringReporterImpl::notify_client().
| QCustomPlot* ModelView::StatusStringReporter::StatusStringReporterImpl::custom_plot {nullptr} |
Definition at line 25 of file statusstringreporter.cpp.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::StatusStringReporterImpl().
| std::unique_ptr<StatusStringFormatterInterface> ModelView::StatusStringReporter::StatusStringReporterImpl::fmt |
Definition at line 27 of file statusstringreporter.cpp.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::notify_client().
| std::unique_ptr<MouseMoveReporter> ModelView::StatusStringReporter::StatusStringReporterImpl::mouse_reporter |
Definition at line 28 of file statusstringreporter.cpp.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::StatusStringReporterImpl().
| StatusStringReporter* ModelView::StatusStringReporter::StatusStringReporterImpl::parent {nullptr} |
Definition at line 24 of file statusstringreporter.cpp.
| MousePosInfo ModelView::StatusStringReporter::StatusStringReporterImpl::prevPos |
Definition at line 29 of file statusstringreporter.cpp.
Referenced by ModelView::StatusStringReporter::StatusStringReporterImpl::StatusStringReporterImpl().