BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Contains parameters of mouse position in 1D or 2D plot.
Definition at line 26 of file PlotEventInfo.h.
Public Member Functions | |
PlotEventInfo (PLOT_TYPE type) | |
bool | inAxesRange () const |
bool | isLogValueAxis () const |
int | nx () const |
int | ny () const |
void | setInAxesRange (bool flag) |
void | setLogValueAxis (bool flag) |
void | setNx (int nx) |
void | setNy (int ny) |
void | setValue (double value) |
void | setX (double x) |
void | setY (double y) |
QString | statusString () const |
double | value () const |
double | x () const |
double | y () const |
Private Types | |
using | PLOT_TYPE = ScientificPlot::PLOT_TYPE |
Private Member Functions | |
QString | valueToString () const |
Private Attributes | |
bool | m_in_axes_range |
PLOT_TYPE | m_info_type |
bool | m_log_valued_axis |
int | m_nx |
int | m_ny |
double | m_value |
double | m_x |
double | m_y |
|
private |
Definition at line 27 of file PlotEventInfo.h.
PlotEventInfo::PlotEventInfo | ( | PLOT_TYPE | type | ) |
Definition at line 18 of file PlotEventInfo.cpp.
|
inline |
Definition at line 36 of file PlotEventInfo.h.
References m_in_axes_range.
Referenced by ScientificPlotEvent::onCustomMouseMove().
|
inline |
|
inline |
Definition at line 50 of file PlotEventInfo.h.
References m_nx.
Referenced by ColorMap::eventInfo(), and setNx().
|
inline |
Definition at line 52 of file PlotEventInfo.h.
References m_ny.
Referenced by ColorMap::eventInfo(), and setNy().
|
inline |
Definition at line 35 of file PlotEventInfo.h.
References m_in_axes_range.
Referenced by Plot1D::eventInfo(), SpecularPlot::eventInfo(), and ColorMap::eventInfo().
|
inline |
Definition at line 38 of file PlotEventInfo.h.
References m_log_valued_axis.
Referenced by ColorMap::eventInfo().
|
inline |
Definition at line 49 of file PlotEventInfo.h.
Referenced by Plot1D::eventInfo(), SpecularPlot::eventInfo(), and ColorMap::eventInfo().
|
inline |
Definition at line 51 of file PlotEventInfo.h.
Referenced by ColorMap::eventInfo().
|
inline |
Definition at line 46 of file PlotEventInfo.h.
References m_value, and value().
Referenced by Plot1D::eventInfo(), SpecularPlot::eventInfo(), and ColorMap::eventInfo().
|
inline |
Definition at line 41 of file PlotEventInfo.h.
Referenced by Plot1D::eventInfo(), SpecularPlot::eventInfo(), and ColorMap::eventInfo().
|
inline |
Definition at line 43 of file PlotEventInfo.h.
Referenced by ColorMap::eventInfo().
QString PlotEventInfo::statusString | ( | ) | const |
Definition at line 30 of file PlotEventInfo.cpp.
References m_info_type, m_nx, m_ny, ScientificPlot::Plot1D, valueToString(), x(), and y().
|
inline |
|
private |
Definition at line 48 of file PlotEventInfo.cpp.
References m_info_type, m_log_valued_axis, m_value, and ScientificPlot::Plot1D.
Referenced by statusString().
|
inline |
Definition at line 42 of file PlotEventInfo.h.
References m_x.
Referenced by Plot1D::eventInfo(), SpecularPlot::eventInfo(), setX(), and statusString().
|
inline |
Definition at line 44 of file PlotEventInfo.h.
References m_y.
Referenced by setY(), and statusString().
|
private |
Definition at line 57 of file PlotEventInfo.h.
Referenced by inAxesRange(), and setInAxesRange().
|
private |
Definition at line 60 of file PlotEventInfo.h.
Referenced by statusString(), and valueToString().
|
private |
Definition at line 57 of file PlotEventInfo.h.
Referenced by isLogValueAxis(), setLogValueAxis(), and valueToString().
|
private |
Definition at line 59 of file PlotEventInfo.h.
Referenced by nx(), setNx(), and statusString().
|
private |
Definition at line 59 of file PlotEventInfo.h.
Referenced by ny(), setNy(), and statusString().
|
private |
Definition at line 58 of file PlotEventInfo.h.
Referenced by setValue(), value(), and valueToString().
|
private |
Definition at line 58 of file PlotEventInfo.h.
|
private |
Definition at line 58 of file PlotEventInfo.h.