DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
BackgroundWorkerWithWaitDialog Class Reference

#include <backgroundworker.h>

Inheritance diagram for BackgroundWorkerWithWaitDialog:
BackgroundWorker AbortListener

Public Slots

virtual void abortIssued ()
 
- Public Slots inherited from BackgroundWorker
void process ()
 

Signals

void messageChanged (QString)
 
void progressBarVisibilityChanged (bool, int)
 
void abortButtonVisibilityChanged (bool)
 
- Signals inherited from BackgroundWorker
void workStarted ()
 
void workEnded ()
 
void progress (int n)
 
void totalChanged (int tot)
 
void warning (QString, QString)
 
void completed (bool success)
 
void mainMessage (QString)
 
void progressMessage (QString)
 

Public Member Functions

 BackgroundWorkerWithWaitDialog (MainWindow *main, WaitDialog *dialog)
 
WaitDialoggetWaitDialog () const
 
bool aborted () const
 
- Public Member Functions inherited from BackgroundWorker
 BackgroundWorker (MainWindow *main)
 
virtual void execute ()=0
 
QString getError () const
 
virtual bool success () const
 
- Public Member Functions inherited from AbortListener
virtual void abortIssued ()=0
 

Protected Member Functions

void setProgressMax (int)
 
void setProgress (int)
 
void setText (QString)
 
void setAbortEnabled (bool)
 
- Protected Member Functions inherited from BackgroundWorker
void setFail (QString msg)
 
void setSuccess ()
 

Protected Attributes

WaitDialogmWaitDialog
 
bool mAborted
 
- Protected Attributes inherited from BackgroundWorker
MainWindowmMain
 
bool mResult
 
QString mError
 

Constructor & Destructor Documentation

◆ BackgroundWorkerWithWaitDialog()

BackgroundWorkerWithWaitDialog::BackgroundWorkerWithWaitDialog ( MainWindow main,
WaitDialog dialog 
)
explicit

Member Function Documentation

◆ abortButtonVisibilityChanged

void BackgroundWorkerWithWaitDialog::abortButtonVisibilityChanged ( bool  _t1)
signal

◆ aborted()

bool BackgroundWorkerWithWaitDialog::aborted ( ) const
inline

◆ abortIssued

void BackgroundWorkerWithWaitDialog::abortIssued ( )
virtualslot

◆ getWaitDialog()

WaitDialog* BackgroundWorkerWithWaitDialog::getWaitDialog ( ) const
inline

◆ messageChanged

void BackgroundWorkerWithWaitDialog::messageChanged ( QString  _t1)
signal

◆ progressBarVisibilityChanged

void BackgroundWorkerWithWaitDialog::progressBarVisibilityChanged ( bool  _t1,
int  _t2 
)
signal

◆ setAbortEnabled()

void BackgroundWorkerWithWaitDialog::setAbortEnabled ( bool  en)
protected

◆ setProgress()

void BackgroundWorkerWithWaitDialog::setProgress ( int  level)
protected

◆ setProgressMax()

void BackgroundWorkerWithWaitDialog::setProgressMax ( int  max)
protected

◆ setText()

void BackgroundWorkerWithWaitDialog::setText ( QString  text)
protected

Member Data Documentation

◆ mAborted

bool BackgroundWorkerWithWaitDialog::mAborted
protected

◆ mWaitDialog

WaitDialog* BackgroundWorkerWithWaitDialog::mWaitDialog
protected

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