fw4spl
fwGui::dialog::IProgressDialog Class Referenceabstract

Defines the generic Progress dialog for IHM. More...

#include <IProgressDialog.hpp>

+ Inheritance diagram for fwGui::dialog::IProgressDialog:
+ Collaboration diagram for fwGui::dialog::IProgressDialog:

Public Types

typedef std::string FactoryRegistryKeyType
 
typedef boost::function< void() > CancelCallbackType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
virtual FWGUI_API void setTitle (const std::string &title)=0
 set the title for the dialog
 
virtual FWGUI_API void setMessage (const std::string &msg)=0
 set the message for the dialog
 
virtual FWGUI_API void operator() (float percent, std::string msg)=0
 action called by fwTools::ProgressAdviser
 
virtual FWGUI_API void setCancelCallback (CancelCallbackType callback)
 
virtual void setCancelRaiseException (bool raise)
 
virtual bool getCanceled ()
 
virtual void hideCancelButton ()
 
virtual void setProcessUserEvents (bool process)
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Attributes

static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY = "::fwGui::dialog::ProgressDialog"
 this unique key should be used for all factory for specific LocationDialog(qt,wx,...)
 

Protected Member Functions

virtual FWGUI_API void cancelPressed ()
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Static Protected Member Functions

static sptr progressDialogFactory ()
 

Protected Attributes

CancelCallbackType m_cancelCallback
 
bool m_canceled
 
bool m_raise
 
int m_value
 progress bar's current value: [0-100]
 
bool m_processUserEvents
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Detailed Description

Defines the generic Progress dialog for IHM.

Note
inherits from ::boost::signals2::trackable to autoDisconnect if handler is destroyed before the notifier.

Definition at line 30 of file IProgressDialog.hpp.


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