OTB  6.7.0
Orfeo Toolbox
Public Member Functions | Private Slots | Private Attributes | List of all members
mvd::TaskProgressDialog Class Reference

#include <mvdTaskProgressDialog.h>

+ Inheritance diagram for mvd::TaskProgressDialog:
+ Collaboration diagram for mvd::TaskProgressDialog:

Public Member Functions

int Exec ()
 
QObject * GetObject () const
 
template<typename T >
T * GetObject () const
 
 TaskProgressDialog (BackgroundTask *task, QWidget *p=NULL, Qt::WindowFlags flags=0)
 
 ~TaskProgressDialog () override
 

Private Slots

void OnDone (QObject *result)
 
void OnExceptionRaised (QString what)
 
void OnObjectDestroyed (QObject *object)
 

Private Attributes

BackgroundTaskm_BackgroundTask
 
std::exception m_Exception
 
QObject * m_Object
 

Detailed Description

Widget template skeleton to copy-paste when adding a new widget class.

Definition at line 78 of file mvdTaskProgressDialog.h.

Constructor & Destructor Documentation

mvd::TaskProgressDialog::TaskProgressDialog ( BackgroundTask task,
QWidget *  p = NULL,
Qt::WindowFlags  flags = 0 
)

Constructor.

mvd::TaskProgressDialog::~TaskProgressDialog ( )
override

Destructor.

Member Function Documentation

int mvd::TaskProgressDialog::Exec ( )
QObject * mvd::TaskProgressDialog::GetObject ( ) const
inline

Definition at line 193 of file mvdTaskProgressDialog.h.

template<typename T >
T * mvd::TaskProgressDialog::GetObject ( ) const
inline

Definition at line 203 of file mvdTaskProgressDialog.h.

void mvd::TaskProgressDialog::OnDone ( QObject *  result)
privateslot
void mvd::TaskProgressDialog::OnExceptionRaised ( QString  what)
privateslot
void mvd::TaskProgressDialog::OnObjectDestroyed ( QObject *  object)
privateslot

Member Data Documentation

BackgroundTask* mvd::TaskProgressDialog::m_BackgroundTask
private

Definition at line 154 of file mvdTaskProgressDialog.h.

std::exception mvd::TaskProgressDialog::m_Exception
private

Definition at line 162 of file mvdTaskProgressDialog.h.

QObject* mvd::TaskProgressDialog::m_Object
private

Definition at line 158 of file mvdTaskProgressDialog.h.


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