libpappsomspp
Library for mass spectrometry
|
#include <qcpspectrum.h>
Protected Member Functions | |
QCPSpectrum (MassSpectrumWidget *parent, bool visible) | |
~QCPSpectrum () | |
void | clearData () |
void | rescale () |
void | setSpectrumP (const MassSpectrum *spectrum) |
void | addMassDelta (const PeakIonIsotopeMatch &peak_ion_match) |
void | addMs1IsotopePattern (const std::vector< pappso::PeptideNaturalIsotopeAverageSp > &isotope_mass_list, pappso_double intensity) |
void | addPeakIonIsotopeMatch (const PeakIonIsotopeMatch &peak_ion_match) |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
virtual void | keyPressEvent (QKeyEvent *event) override |
virtual void | keyReleaseEvent (QKeyEvent *event) override |
Private Member Functions | |
void | getNearestPeakBetween (pappso_double mz, pappso_double mouse_mz_range) |
Q_SLOT void | setMzRangeChanged (QCPRange range) |
Private Attributes | |
MassSpectrumWidget * | _parent |
const MassSpectrum * | _p_spectrum = nullptr |
QCPRange | _mz_range |
QCPRange | _intensity_range |
QCPRange | _mass_delta_range |
QCPBars * | _p_peak_bars |
QCPBars * | _p_peak_bars_isotope |
std::map< PeptideIon, QCPBars * > | _map_ion_type_bars |
QCPAxisRect * | _p_delta_axis_rect |
QCPGraph * | _p_delta_graph |
double | _bar_width = 0.5 |
bool | _click = false |
bool | _control_key = false |
pappso::pappso_double | _old_x |
pappso::pappso_double | _old_y |
Friends | |
class | MassSpectrumWidget |
Definition at line 66 of file qcpspectrum.h.
|
protected |
< Cter amino ions
< Cter amino ions + NH3 loss
< Cter amino ions + H2O loss
< Cter carbocations
Definition at line 37 of file qcpspectrum.cpp.
References _bar_width, _intensity_range, _map_ion_type_bars, _mass_delta_range, _mz_range, _p_delta_axis_rect, _p_delta_graph, _p_peak_bars, _p_peak_bars_isotope, _parent, pappso::a, pappso::ao, pappso::astar, pappso::b, pappso::bo, pappso::bp, pappso::bstar, pappso::c, pappso::PeptideFragmentIon::getPeptideIonColor(), setMzRangeChanged(), pappso::x, pappso::y, pappso::yo, pappso::yp, pappso::ystar, and pappso::z.
|
protected |
Definition at line 148 of file qcpspectrum.cpp.
|
protected |
Definition at line 386 of file qcpspectrum.cpp.
References _mass_delta_range, _p_delta_axis_rect, _p_delta_graph, pappso::PeakIonMatch::getPeak(), pappso::PeakIonIsotopeMatch::getPeptideNaturalIsotopeAverageSp(), and pappso::DataPoint::x.
Referenced by pappso::MassSpectrumWidget::plot().
|
protected |
Definition at line 414 of file qcpspectrum.cpp.
References _p_peak_bars_isotope.
Referenced by pappso::MassSpectrumWidget::plot().
|
protected |
Definition at line 407 of file qcpspectrum.cpp.
References _map_ion_type_bars, pappso::PeakIonMatch::getPeak(), pappso::PeakIonMatch::getPeptideIonType(), pappso::DataPoint::x, and pappso::DataPoint::y.
Referenced by pappso::MassSpectrumWidget::plot().
|
protected |
Definition at line 238 of file qcpspectrum.cpp.
References _map_ion_type_bars, _mass_delta_range, _mz_range, _p_delta_axis_rect, _p_delta_graph, _p_peak_bars, and _p_peak_bars_isotope.
Referenced by pappso::MassSpectrumWidget::clearData().
|
private |
Definition at line 354 of file qcpspectrum.cpp.
References _p_spectrum, _parent, pappso::max, pappso::mz, pappso::MassSpectrumWidget::peakChangeEvent(), and pappso::DataPoint::x.
Referenced by mouseMoveEvent().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Definition at line 311 of file qcpspectrum.cpp.
References _click, _control_key, _old_x, _old_y, _p_spectrum, _parent, getNearestPeakBetween(), pappso::MassSpectrumWidget::mzChangeEvent(), pappso::x, and pappso::y.
|
overrideprotectedvirtual |
Definition at line 289 of file qcpspectrum.cpp.
|
overrideprotectedvirtual |
|
protected |
Definition at line 184 of file qcpspectrum.cpp.
References _intensity_range, _mass_delta_range, _mz_range, _p_delta_axis_rect, and _p_peak_bars.
Referenced by pappso::MassSpectrumWidget::rescale().
|
private |
Definition at line 213 of file qcpspectrum.cpp.
References _mz_range, and _p_delta_axis_rect.
Referenced by QCPSpectrum().
|
protected |
Definition at line 153 of file qcpspectrum.cpp.
References _intensity_range, _mass_delta_range, _mz_range, _p_peak_bars, and _p_spectrum.
Referenced by pappso::MassSpectrumWidget::clearData().
|
friend |
Definition at line 70 of file qcpspectrum.h.
|
private |
Definition at line 107 of file qcpspectrum.h.
Referenced by QCPSpectrum().
|
private |
Definition at line 108 of file qcpspectrum.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 109 of file qcpspectrum.h.
Referenced by keyPressEvent(), keyReleaseEvent(), and mouseMoveEvent().
|
private |
Definition at line 100 of file qcpspectrum.h.
Referenced by QCPSpectrum(), rescale(), and setSpectrumP().
|
private |
Definition at line 104 of file qcpspectrum.h.
Referenced by addPeakIonIsotopeMatch(), clearData(), and QCPSpectrum().
|
private |
Definition at line 101 of file qcpspectrum.h.
Referenced by addMassDelta(), clearData(), QCPSpectrum(), rescale(), and setSpectrumP().
|
private |
Definition at line 99 of file qcpspectrum.h.
Referenced by clearData(), QCPSpectrum(), rescale(), setMzRangeChanged(), and setSpectrumP().
|
private |
Definition at line 110 of file qcpspectrum.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
private |
Definition at line 111 of file qcpspectrum.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
private |
Definition at line 105 of file qcpspectrum.h.
Referenced by addMassDelta(), clearData(), QCPSpectrum(), rescale(), and setMzRangeChanged().
|
private |
Definition at line 106 of file qcpspectrum.h.
Referenced by addMassDelta(), clearData(), and QCPSpectrum().
|
private |
Definition at line 102 of file qcpspectrum.h.
Referenced by clearData(), QCPSpectrum(), rescale(), and setSpectrumP().
|
private |
Definition at line 103 of file qcpspectrum.h.
Referenced by addMs1IsotopePattern(), clearData(), and QCPSpectrum().
|
private |
Definition at line 98 of file qcpspectrum.h.
Referenced by getNearestPeakBetween(), mouseMoveEvent(), and setSpectrumP().
|
private |
Definition at line 97 of file qcpspectrum.h.
Referenced by getNearestPeakBetween(), mouseMoveEvent(), and QCPSpectrum().