Skip to content
Snippets Groups Projects
Commit 340ba1f8 authored by Langella Olivier's avatar Langella Olivier
Browse files

display number of PTM islands

parent 75041117
Branches
Tags
No related merge requests found
......@@ -58,6 +58,9 @@ PtmIslandListWindow::PtmIslandListWindow(ProjectWindow *parent):
_statusbar_displayed_label = new QLabel("");
ui->statusbar->addWidget(_statusbar_displayed_label);
_statusbar_ptm_islands_label = new QLabel("");
ui->statusbar->addWidget(_statusbar_ptm_islands_label);
#if QT_VERSION >= 0x050000
// Qt5 code
......@@ -126,6 +129,7 @@ void PtmIslandListWindow::doIdentificationPtmGroupGrouped(IdentificationGroup *
_ptm_table_model_p->setIdentificationGroup(p_identification_group);
emit ptmIslandDataChanged();
_statusbar_ptm_islands_label->setText(tr("ptm islands: %1").arg(p_identification_group->getPtmGroupingExperiment()->getPtmIslandList().size()));
//ui->ptm_island_tableview->resizeRowToContents(_ptm_table_model_p->rowCount());
}
......
......@@ -80,6 +80,7 @@ private:
std::vector<PtmPeptideListWindow *> _ptm_peptide_list_window_collection;
QLabel * _statusbar_displayed_label;
QLabel * _statusbar_ptm_islands_label;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment