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

contaminant selection enables apply button

parent 0b79b863
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,7 @@ ProjectWindow::ProjectWindow(MainWindow *parent):
#if QT_VERSION >= 0x050000
// Qt5 code
connect (ui->filter_parameter_widget, &AutomaticFilterWidget::automaticFilterParametersChanged, this,&ProjectWindow::doAutomaticFilterParametersChanged);
connect (ui->contaminant_widget, &ContaminantWidget::changed, this,&ProjectWindow::doContaminantSelectionChanged);
connect(_p_edit_label_methods, &EditLabelMethods::accepted, this,&ProjectWindow::doAcceptedLabelingMethod);
......@@ -380,6 +381,13 @@ void ProjectWindow::refresh() {
qDebug() << "ProjectWindow::refresh end ";
}
void ProjectWindow::doContaminantSelectionChanged() {
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
ui->apply_filter_button->setEnabled(true);
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
}
void ProjectWindow::doAutomaticFilterParametersChanged(AutomaticFilterParameters parameters) {
qDebug() << "ProjectWindow::doAutomaticFilterParametersChanged begin ";
ui->apply_filter_button->setEnabled(true);
......
......@@ -98,6 +98,7 @@ protected :
void doViewPeptideList(IdentificationGroup * p_ident_group, ProteinMatch * protein_match);
void doViewProteinDetail(ProteinMatch * protein_match);
void doIdentificationGroupEdited(IdentificationGroup* p_identification_group);
void doContaminantSelectionChanged();
void computeFdr();
void computeMassPrecision();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment