EHM DAL 0.2.3
Data abstraction layer for Eastside Hockey Manager
Loading...
Searching...
No Matches
ehm_dal::spreadsheet::SpreadsheetFile Class Referenceabstract
Inheritance diagram for ehm_dal::spreadsheet::SpreadsheetFile:

Public Member Functions

 SpreadsheetFile (QFile &file)
 
virtual bool read (std::vector< std::vector< QVariant > > &header, std::vector< std::vector< QVariant > > &cells, const qint32 header_count=0)=0
 
virtual bool writeCells (std::vector< QVariant > &prefix, std::vector< std::vector< QVariant > > &cells)=0
 
virtual bool writeHeader (std::vector< QVariant > &prefix, std::vector< std::vector< QVariant > > &header)=0
 
QString dateFormat () const
 
void setSilent (const bool silent)
 

Protected Attributes

const QRegularExpression numerical_ {"\\d*"}
 
QFile * file_ {nullptr}
 
qint32 header_count_ {2}
 
bool hide_progress_ {false}
 
widgets::ProgressDialog progress_dialog_ {QStringLiteral("Spreadsheet File"), 0, 1}