fw4spl
include/fwGui/dialog/MultiSelectorDialog.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_MULTISELECTORDIALOG_HPP__
8 #define __FWGUI_DIALOG_MULTISELECTORDIALOG_HPP__
9 
10 #include "fwGui/config.hpp"
11 #include "fwGui/dialog/IMultiSelectorDialog.hpp"
12 
13 #include <fwCore/base.hpp>
14 
15 namespace fwGui
16 {
17 namespace dialog
18 {
26 class FWGUI_CLASS_API MultiSelectorDialog : public IMultiSelectorDialog
27 {
28 
29 public:
30 
33 
35  FWGUI_API MultiSelectorDialog();
36 
38  FWGUI_API void setTitle(std::string title) override;
39 
41  FWGUI_API virtual void setSelections(Selections _selections) override;
42 
46  FWGUI_API Selections show() override;
47 
49  FWGUI_API virtual void setMessage(const std::string& msg) override;
50 
51 protected:
52 
53  ::fwGui::dialog::IMultiSelectorDialog::sptr m_implementation;
54 
55 };
56 
57 } //namespace dialog
58 } // namespace fwGui
59 
60 #endif /*__FWGUI_DIALOG_MULTISELECTORDIALOG_HPP__*/
61 
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
IMultiSelectorDialog allows the choice of some elements among several (_selections) ...
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
MultiSelectorDialog allows the choice of some element among several (_selections) ...