5#ifndef BITCOIN_QT_CSVMODELWRITER_H
6#define BITCOIN_QT_CSVMODELWRITER_H
Export a Qt table model to a CSV file.
CSVModelWriter(const QString &filename, QObject *parent=nullptr)
bool write()
Perform export of the model to CSV.
void setModel(const QAbstractItemModel *model)
void addColumn(const QString &title, int column, int role=Qt::EditRole)
const QAbstractItemModel * model
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.