1 #ifndef CSV_DOC_LOADER_H
2 #define CSV_DOC_LOADER_H
8 #include <QSignalMapper>
12 class QDialogButtonBox;
51 void abort (
const std::string& error);
72 std::map<CSMDoc::Document *, LoadingDocument *>
mDocuments;
91 const std::string& error);
void closeEvent(QCloseEvent *event)
Definition: loader.cpp:13
void nextStage(CSMDoc::Document *document, const std::string &name, int totalRecords)
Definition: loader.cpp:178
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
void addMessage(const std::string &message)
Definition: loader.cpp:110
static const struct @2 signals[]
LoadingDocument(CSMDoc::Document *document)
Definition: loader.cpp:19
bool mAborted
Definition: loader.hpp:32
QLabel * mFile
Definition: loader.hpp:28
QListWidget * mMessages
Definition: loader.hpp:35
int mTotalRecords
Definition: loader.hpp:37
virtual ~Loader()
Definition: loader.cpp:135
void nextStage(const std::string &name, int totalRecords)
Definition: loader.cpp:77
QDialogButtonBox * mButtons
Definition: loader.hpp:33
void loadingStopped(CSMDoc::Document *document, bool completed, const std::string &error)
Definition: loader.cpp:153
void loadMessage(CSMDoc::Document *document, const std::string &message)
Definition: loader.cpp:195
Loader()
Definition: loader.cpp:133
QProgressBar * mRecordProgress
Definition: loader.hpp:31
Definition: loader.hpp:68
void abort(const std::string &error)
Definition: loader.cpp:103
QLabel * mRecords
Definition: loader.hpp:29
void add(CSMDoc::Document *document)
Definition: loader.cpp:142
void cancel()
Definition: loader.cpp:121
void cancel(CSMDoc::Document *document)
QProgressBar * mFileProgress
Definition: loader.hpp:30
QVBoxLayout * mLayout
Definition: loader.hpp:36
void close(CSMDoc::Document *document)
Close stopped loading process.
Definition: document.hpp:57
CSMDoc::Document * mDocument
Definition: loader.hpp:27
void nextRecord(CSMDoc::Document *document, int records)
Definition: loader.cpp:187
void nextRecord(int records)
Definition: loader.cpp:89
Definition: loader.hpp:23
QLabel * mError
Definition: loader.hpp:34
std::map< CSMDoc::Document *, LoadingDocument * > mDocuments
Definition: loader.hpp:72
void close(CSMDoc::Document *document)
const char * name
Definition: crashcatcher.cpp:59