|
libodsstream
Library for mass spectrometry
|
#include <qtablewriter.h>
Public Member Functions | |
| QtableWriter (CalcWriterInterface *p_writer, const QAbstractProxyModel *p_table_model) | |
| void | writeSheet (const QString &sheetName) |
| write the entire table in a sheet | |
| void | setFormatPercentForColumn (const QString &column_title) |
| void | setFormatPercentForColumn (const QModelIndex &column_index) |
Private Attributes | |
| CalcWriterInterface * | mp_writer |
| const QAbstractProxyModel * | mp_tableModel |
| std::map< int, bool > | m_percentColumns |
Definition at line 37 of file qtablewriter.h.
| QtableWriter::QtableWriter | ( | CalcWriterInterface * | p_writer, |
| const QAbstractProxyModel * | p_table_model | ||
| ) |
Definition at line 34 of file qtablewriter.cpp.
References m_percentColumns, and mp_tableModel.
| void QtableWriter::setFormatPercentForColumn | ( | const QModelIndex & | column_index | ) |
Definition at line 63 of file qtablewriter.cpp.
References m_percentColumns, and mp_tableModel.
| void QtableWriter::setFormatPercentForColumn | ( | const QString & | column_title | ) |
Definition at line 45 of file qtablewriter.cpp.
References m_percentColumns, and mp_tableModel.
| void QtableWriter::writeSheet | ( | const QString & | sheetName | ) |
write the entire table in a sheet
| sheetName | the sheet name |
Definition at line 75 of file qtablewriter.cpp.
References m_percentColumns, mp_tableModel, mp_writer, CalcWriterInterface::setCellAnnotation(), CalcWriterInterface::setCurrentOdsTableSettings(), OdsTableSettings::setVerticalSplit(), CalcWriterInterface::writeCell(), CalcWriterInterface::writeCellPercentage(), CalcWriterInterface::writeEmptyCell(), CalcWriterInterface::writeLine(), and CalcWriterInterface::writeSheet().
|
private |
Definition at line 42 of file qtablewriter.h.
Referenced by QtableWriter(), setFormatPercentForColumn(), setFormatPercentForColumn(), and writeSheet().
|
private |
Definition at line 41 of file qtablewriter.h.
Referenced by QtableWriter(), setFormatPercentForColumn(), setFormatPercentForColumn(), and writeSheet().
|
private |
Definition at line 40 of file qtablewriter.h.
Referenced by writeSheet().