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::Operation Class Reference

#include <operation.hpp>

Inheritance diagram for CSVDoc::Operation:
Collaboration diagram for CSVDoc::Operation:

Signals

void abortOperation (int type)
 

Public Member Functions

 Operation (int type, QWidget *parent)
 
 ~Operation ()
 
void setProgress (int current, int max, int threads)
 
int getType () const
 
QHBoxLayout * getLayout () const
 

Private Slots

void abortOperation ()
 

Private Member Functions

 Operation (const Operation &)
 
Operationoperator= (const Operation &)
 
void updateLabel (int threads=-1)
 
void setBarColor (int type)
 
void initWidgets ()
 

Private Attributes

int mType
 
bool mStalling
 
QProgressBar * mProgressBar
 
QPushButton * mAbortButton
 
QHBoxLayout * mLayout
 

Constructor & Destructor Documentation

CSVDoc::Operation::Operation ( const Operation )
private
CSVDoc::Operation::Operation ( int  type,
QWidget parent 
)
Todo:
Add a cancel button or a pop up menu with a cancel item
Todo:
assign different progress bar colours to allow the user to distinguish easily between operation types

Here is the call graph for this function:

CSVDoc::Operation::~Operation ( )

Member Function Documentation

void CSVDoc::Operation::abortOperation ( int  type)
signal
void CSVDoc::Operation::abortOperation ( )
privateslot
QHBoxLayout * CSVDoc::Operation::getLayout ( ) const

Here is the caller graph for this function:

int CSVDoc::Operation::getType ( ) const
void CSVDoc::Operation::initWidgets ( )
private

Here is the caller graph for this function:

Operation& CSVDoc::Operation::operator= ( const Operation )
private
void CSVDoc::Operation::setBarColor ( int  type)
private

Here is the caller graph for this function:

void CSVDoc::Operation::setProgress ( int  current,
int  max,
int  threads 
)

Here is the caller graph for this function:

void CSVDoc::Operation::updateLabel ( int  threads = -1)
private

Here is the caller graph for this function:

Member Data Documentation

QPushButton* CSVDoc::Operation::mAbortButton
private
QHBoxLayout* CSVDoc::Operation::mLayout
private
QProgressBar* CSVDoc::Operation::mProgressBar
private
bool CSVDoc::Operation::mStalling
private
int CSVDoc::Operation::mType
private

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