| 1008 | } |
| 1009 | |
| 1010 | void MetaDataBrowser::add(Feature & feature) |
| 1011 | { |
| 1012 | //peptide ids |
| 1013 | for (PeptideIdentification& pep : feature.getPeptideIdentifications()) |
| 1014 | { |
| 1015 | add(pep); |
| 1016 | } |
| 1017 | |
| 1018 | add(static_cast<MetaInfoInterface &>(feature)); |
| 1019 | |
| 1020 | treeview_->expandItem(treeview_->findItems(QString::number(0), Qt::MatchExactly, 1).first()); |
| 1021 | } |
| 1022 | |
| 1023 | void MetaDataBrowser::add(ConsensusFeature & feature) |
| 1024 | { |