fw4spl
fwGui::dialog::ProgressDialog Class Reference

Defines the generic progress dialog for IHM. Use the Delegate design pattern. The specific implementation selection is ensured by fwGuiRegisterMacro. The specific implementation are in fwGuiWX and fwGuiQT libraries. More...

#include <ProgressDialog.hpp>

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

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUI_API ProgressDialog (const std::string &title=std::string(), const std::string &msg=std::string())
 will instanciate the concrete implementation
 
FWGUI_API void setTitle (const std::string &title) override
 set the title for the dialog
 
FWGUI_API void setMessage (const std::string &message) override
 set the message for the dialog
 
FWGUI_API void operator() (float percent, std::string msg) override
 action called by fwTools::ProgressAdviser
 
FWGUI_API void setCancelCallback (CancelCallbackType callback) override
 
FWGUI_API void hideCancelButton () override
 
- Public Member Functions inherited from fwGui::dialog::IProgressDialog
virtual void setCancelRaiseException (bool raise)
 
virtual bool getCanceled ()
 
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::dialog::IProgressDialog
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 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
 

Protected Member Functions

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

Protected Attributes

::fwGui::dialog::IProgressDialog::sptr m_implementation
 
- Protected Attributes inherited from fwGui::dialog::IProgressDialog
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
 

Additional Inherited Members

- Public Types inherited from fwGui::dialog::IProgressDialog
typedef std::string FactoryRegistryKeyType
 
typedef boost::function< void() > CancelCallbackType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 
- Static Public Attributes inherited from fwGui::dialog::IProgressDialog
static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY = "::fwGui::dialog::ProgressDialog"
 this unique key should be used for all factory for specific LocationDialog(qt,wx,...)
 
- Static Protected Member Functions inherited from fwGui::dialog::IProgressDialog
static sptr progressDialogFactory ()
 

Detailed Description

Defines the generic progress dialog for IHM. Use the Delegate design pattern. The specific implementation selection is ensured by fwGuiRegisterMacro. The specific implementation are in fwGuiWX and fwGuiQT libraries.

Definition at line 24 of file include/fwGui/dialog/ProgressDialog.hpp.


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