fw4spl
fwGuiQt::dialog::ProgressDialog Class Reference

This class allows us to select an acquisition in a patient data base. More...

#include <ProgressDialog.hpp>

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

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUIQT_API ProgressDialog (::fwGui::GuiBaseObject::Key key, const std::string &title="Progression", const std::string &message=std::string(86, ' '))
 
FWGUIQT_API void operator() (float percent, std::string msg) override
 action called by fwTools::ProgressAdviser
 
FWGUIQT_API void setTitle (const std::string &title) override
 override
 
FWGUIQT_API void setMessage (const std::string &message) override
 override
 
FWGUIQT_API void hideCancelButton () override
 
- Public Member Functions inherited from fwGui::dialog::IProgressDialog
virtual FWGUI_API void setCancelCallback (CancelCallbackType callback)
 
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 Slots

void cancelPressed () override
 

Protected Attributes

QString m_title
 
QPointer< QProgressDialog > m_pdialog
 
QPointer< QProgressBar > m_pprogressbar
 
QPointer< QPushButton > m_pcancelButton
 
QPointer< QMainWindow > m_pmainWindow
 
- 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,...)
 
- Protected Member Functions inherited from fwGui::dialog::IProgressDialog
virtual FWGUI_API void cancelPressed ()
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 
- Static Protected Member Functions inherited from fwGui::dialog::IProgressDialog
static sptr progressDialogFactory ()
 

Detailed Description

This class allows us to select an acquisition in a patient data base.

Note
Do not inherit from fwProgressDialog but embed a fwProgressDialog because this lasted is not copiable.

Definition at line 40 of file t/include/fwGuiQt/dialog/ProgressDialog.hpp.


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