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

new ODS spreadsheet do export spectra

parent 2b53ed69
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ SET(CPP_FILES
output/ods/peptidesheet.cpp
output/ods/proteinsheet.cpp
output/ods/simplesheet.cpp
output/ods/spectrasheet.cpp
utils/fastafilestore.cpp
utils/identificationdatasourcestore.cpp
utils/groupstore.cpp
......
......@@ -41,6 +41,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="spectra_checkbox">
<property name="text">
<string>spectra : list all peptide spectrum match for each sequenceLI+mass </string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......
......@@ -49,6 +49,10 @@ ExportSpreadsheetDialog::ExportSpreadsheetDialog(QWidget * parent):
if (settings.value("export_ods/peptides", "true").toBool()) {
ui->peptide_checkbox->setCheckState(Qt::Checked);
}
ui->spectra_checkbox->setCheckState(Qt::Unchecked);
if (settings.value("export_ods/spectra", "true").toBool()) {
ui->spectra_checkbox->setCheckState(Qt::Checked);
}
//param.setFilterCrossSamplePeptideNumber(settings.value("automatic_filter/cross_sample", "true").toBool());
#if QT_VERSION >= 0x050000
......
......@@ -31,6 +31,7 @@
#include "simplesheet.h"
#include "proteinsheet.h"
#include "peptidesheet.h"
#include "spectrasheet.h"
#include <QSettings>
OdsExport::OdsExport(const Project * project):_p_project(project) {
......@@ -64,4 +65,7 @@ void OdsExport::write(CalcWriterInterface * p_writer) {
if (settings.value("export_ods/peptides", "true").toBool()) {
PeptideSheet(this, p_writer, _p_project);
}
if (settings.value("export_ods/spectra", "true").toBool()) {
SpectraSheet(this, p_writer, _p_project);
}
}
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