OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CSVDoc::LoadingDocument Class Reference

#include <loader.hpp>

Inheritance diagram for CSVDoc::LoadingDocument:
Collaboration diagram for CSVDoc::LoadingDocument:

Signals

void cancel (CSMDoc::Document *document)
 Stop loading process. More...
 
void close (CSMDoc::Document *document)
 Close stopped loading process. More...
 

Public Member Functions

 LoadingDocument (CSMDoc::Document *document)
 
void nextStage (const std::string &name, int totalRecords)
 
void nextRecord (int records)
 
void abort (const std::string &error)
 
void addMessage (const std::string &message)
 

Private Slots

void cancel ()
 

Private Member Functions

void closeEvent (QCloseEvent *event)
 

Private Attributes

CSMDoc::DocumentmDocument
 
QLabel * mFile
 
QLabel * mRecords
 
QProgressBar * mFileProgress
 
QProgressBar * mRecordProgress
 
bool mAborted
 
QDialogButtonBox * mButtons
 
QLabel * mError
 
QListWidgetmMessages
 
QVBoxLayout * mLayout
 
int mTotalRecords
 

Constructor & Destructor Documentation

CSVDoc::LoadingDocument::LoadingDocument ( CSMDoc::Document document)

Here is the call graph for this function:

Member Function Documentation

void CSVDoc::LoadingDocument::abort ( const std::string &  error)
void CSVDoc::LoadingDocument::addMessage ( const std::string &  message)
void CSVDoc::LoadingDocument::cancel ( )
privateslot

Here is the caller graph for this function:

void CSVDoc::LoadingDocument::cancel ( CSMDoc::Document document)
signal

Stop loading process.

void CSVDoc::LoadingDocument::close ( CSMDoc::Document document)
signal

Close stopped loading process.

void CSVDoc::LoadingDocument::closeEvent ( QCloseEvent *  event)
private

Here is the call graph for this function:

void CSVDoc::LoadingDocument::nextRecord ( int  records)
void CSVDoc::LoadingDocument::nextStage ( const std::string &  name,
int  totalRecords 
)

Member Data Documentation

bool CSVDoc::LoadingDocument::mAborted
private
QDialogButtonBox* CSVDoc::LoadingDocument::mButtons
private
CSMDoc::Document* CSVDoc::LoadingDocument::mDocument
private
QLabel* CSVDoc::LoadingDocument::mError
private
QLabel* CSVDoc::LoadingDocument::mFile
private
QProgressBar* CSVDoc::LoadingDocument::mFileProgress
private
QVBoxLayout* CSVDoc::LoadingDocument::mLayout
private
QListWidget* CSVDoc::LoadingDocument::mMessages
private
QProgressBar* CSVDoc::LoadingDocument::mRecordProgress
private
QLabel* CSVDoc::LoadingDocument::mRecords
private
int CSVDoc::LoadingDocument::mTotalRecords
private

The documentation for this class was generated from the following files: