7 #include "fwGui/dialog/PulseProgressDialog.hpp" 9 #include <fwServices/registry/ActiveWorkers.hpp> 18 const std::string& title,
19 ::fwGui::dialog::IPulseProgressDialog::Stuff stuff,
20 const std::string& msg,
21 ::fwGui::dialog::IPulseProgressDialog::MilliSecond frequenceRefresh )
27 m_implementation = ::fwGui::dialog::IPulseProgressDialog::dynamicCast(guiObj);
30 m_implementation->setStuff(stuff);
31 m_implementation->setTitle(title);
32 m_implementation->setMessage(msg);
33 m_implementation->setFrequence(frequenceRefresh);
48 m_implementation->setTitle(title);
58 m_implementation->setMessage(msg);
virtual FWGUI_API void show()=0
show the pulse progress dialog
FWGUI_API PulseProgressDialog(const std::string &title, Stuff stuff, const std::string &msg=std::string(),::fwGui::dialog::IPulseProgressDialog::MilliSecond frequenceRefresh=100)
will instantiate the concrete implementation
FWGUI_API void setMessage(const std::string &message) override
set the message for the dialog
The namespace fwGui contains the base interface for IHM services.
virtual FWGUI_API void show() override
show the pulse progress dialog
FWGUI_API void setTitle(const std::string &title) override
set the title for the dialog
virtual FWGUI_API void setStuff(Stuff stuff)
set the stuff
static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY
this unique key should be used for all factory for specific LocationDialog(qt,wx,...)
static FWSERVICES_API::fwThread::Worker::sptr getDefaultWorker()
Get the default registered worker.