49  this->setLayout(
new QHBoxLayout(
this));
 
   51  this->layout()->setContentsMargins(0, 0, 0, 0);
 
 
   81      painter.begin(device);
 
   82      _custom_plot->toPainter(&painter, size.width(), size.height());
 
 
   97  while(
auto item = this->layout()->takeAt(0))
 
   99      delete item->widget();
 
  108  _custom_plot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom);
 
 
  143  qDebug() << 
"ms_level=" << ms_level;
 
 
  161  qDebug() << 
"precision->toString()=" << precision->
toString();
 
 
  168  qDebug() << 
"precision->toString()=" << precision->
toString();
 
 
  207          qDebug() << 
"_peak_ion_isotope_match_list.size()=" 
 
  281              qDebug() << 
"_isotope_mass_list.size()=" 
  287                          return a.get()->getMz() < b.get()->getMz();
 
  294                  qDebug() << 
"precursor_peptide.get()->getMz()=" 
  295                           << precursor_peptide.get()->
getMz();
 
  296                  MzRange precursor_mass(precursor_peptide.get()->
getMz(),
 
  299                  monoisotope_peak.
y = 0;
 
  305                          if(peak.y > monoisotope_peak.
y)
 
  307                              qDebug() << 
"SpectrumWidget::plot  " 
  309                                          "monoisotope_peak.intensity) ";
 
  310                              monoisotope_peak = peak;
 
  314                  if(monoisotope_peak.
y > 0)
 
  316                      qDebug() << 
"addMs1IsotopePattern";
 
  326      qDebug() << 
"_peak_ion_isotope_match_list.size()=" 
  330          return a.getPeak().y > 
b.getPeak().y;
 
  343              QCPItemText *text_label = 
new QCPItemText(
_custom_plot);
 
  344              text_label->setVisible(
true);
 
  346              text_label->setPositionAlignment(Qt::AlignBottom |
 
  348              text_label->position->setType(QCPItemPosition::ptPlotCoords);
 
  349              text_label->position->setCoords(
 
  350                peak_ion_match.getPeak().x,
 
  351                peak_ion_match.getPeak()
 
  353              text_label->setFont(QFont(font().family(), 8));
 
  355                peak_ion_match.getPeptideFragmentIonSp()
 
  357                  ->getCompletePeptideIonName(peak_ion_match.getCharge()));
 
  360              text_label->setColor(
 
  362                  peak_ion_match.getPeptideIonType())));
 
 
  380  qDebug() << 
"p_peak_match=" << p_peak_match;
 
  399                  emit 
ionChanged(std::make_shared<const PeakIonIsotopeMatch>(
 
  406              emit 
ionChanged(std::shared_ptr<const PeakIonIsotopeMatch>());
 
  411          qDebug() << 
"no peak";
 
 
  420  qDebug() << 
"_p_ms1_precision->toString()=" << 
_p_ms1_precision->toString();
 
  426      std::map<unsigned int, pappso::pappso_double> map_isotope_number =
 
  429      for(
unsigned int i = 0; i < map_isotope_number.size(); i++)
 
  432          unsigned int asked_rank = 0;
 
  433          unsigned int given_rank = 0;
 
  434          bool more_rank          = 
true;
 
  441              if(given_rank < asked_rank)
 
 
bool contains(pappso_double) const
 
static std::list< Enums::PeptideIon > getCIDionList()
 
static const QColor getPeptideIonColor(Enums::PeptideIon ion_type)
 
const std::list< PeakIonIsotopeMatch > & getPeakIonIsotopeMatchList() const
 
unsigned int getIsotopeRank() const
 
pappso_double getIntensityRatio() const
 
pappso_double getMz() const
 
PeptideNaturalIsotopeAverageSp makePeptideNaturalIsotopeAverageSp() const
 
const std::map< unsigned int, pappso_double > getIntensityRatioPerIsotopeNumber() const
 
virtual QString toString() const =0
 
Class representing a fully specified mass spectrum.
 
uint getMsLevel() const
Get the mass spectrum level.
 
MassSpectrumCstSPtr getMassSpectrumCstSPtr() const
Get the MassSpectrumCstSPtr.
 
uint getPrecursorCharge(bool *ok=nullptr) const
get precursor charge
 
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
 
std::shared_ptr< const Peptide > PeptideSp
 
double pappso_double
A type definition for doubles.
 
std::shared_ptr< const PeptideNaturalIsotopeAverage > PeptideNaturalIsotopeAverageSp
 
std::shared_ptr< const MassSpectrum > MassSpectrumCstSPtr
 
const PrecisionBase * PrecisionPtr
 
std::shared_ptr< const DataPoint > DataPointCstSPtr