fw4spl
include/fwGui/dialog/PulseProgressDialog.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWGUI_DIALOG_PULSEPROGRESSDIALOG_HPP__
8 #define __FWGUI_DIALOG_PULSEPROGRESSDIALOG_HPP__
9 
10 #include "fwGui/config.hpp"
11 #include "fwGui/dialog/IPulseProgressDialog.hpp"
12 
13 #include <fwCore/base.hpp>
14 
15 namespace fwGui
16 {
17 namespace dialog
18 {
24 class FWGUI_CLASS_API PulseProgressDialog : public IPulseProgressDialog
25 {
26 
27 public:
28 
30  (((const std::string))(
31  (::fwGui::dialog::IPulseProgressDialog::Stuff))),
33 
35  FWGUI_API PulseProgressDialog(
36  const std::string& title,
37  Stuff stuff,
38  const std::string& msg = std::string(),
39  ::fwGui::dialog::IPulseProgressDialog::MilliSecond frequenceRefresh = 100 );
40 
42  FWGUI_API void setTitle(const std::string& title) override;
43 
45  FWGUI_API void setMessage(const std::string& message) override;
46 
48  FWGUI_API virtual void show() override;
49 
50 protected:
51 
52  ::fwGui::dialog::IPulseProgressDialog::sptr m_implementation;
53 
54 };
55 
56 } //namespace dialog
57 } // namespace fwGui
58 
59 #endif /*__FWGUI_DIALOG_PULSEPROGRESSDIALOG_HPP__*/
60 
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Defines the generic Progress dialog for IHM.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Defines the generic pulse 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.