12 #ifndef QmitkStatisticsModelToStringConverter_h
13 #define QmitkStatisticsModelToStringConverter_h
49 QString Iterate(
const QModelIndex &index,
51 QString label =
"")
const;
54 QModelIndex m_rootIndex;
56 QChar m_rowDelimiter =
'\n';
57 QChar m_columnDelimiter =
',';
59 bool m_includeHeaderData =
false;
#define MITKIMAGESTATISTICSUI_EXPORT
Converts the content of the statistics model to a string.
QString GetString() const
Returns the string.
void SetIncludeHeaderData(bool includeHeaderData)
If header data (column/row captions) are exported.
void SetRootIndex(QModelIndex rootIndex)
void SetColumnDelimiter(QChar columnDelimiter)
QmitkStatisticsModelToStringConverter()
void SetRowDelimiter(QChar rowDelimiter)
void SetModel(QmitkImageStatisticsTreeModel *model)