fw4spl
SlideViewBuilder.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2016-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 __FWGUIQT_BUILDER_SLIDEVIEWBUILDER_HPP__
8 #define __FWGUIQT_BUILDER_SLIDEVIEWBUILDER_HPP__
9 
10 #include "fwGuiQt/config.hpp"
11 #include "fwGuiQt/container/QtContainer.hpp"
12 
13 #include <fwCore/base.hpp>
14 
15 #include <fwGui/builder/ISlideViewBuilder.hpp>
16 #include <fwGui/container/fwContainer.hpp>
17 
18 #include <fwRuntime/ConfigurationElement.hpp>
19 
20 namespace fwGui
21 {
22 namespace builder
23 {
24 
28 class FWGUIQT_CLASS_API SlideViewBuilder : public ::fwGui::builder::ISlideViewBuilder
29 {
30 public:
32  (()),
33  ::fwGui::factory::New< SlideViewBuilder >);
34 
36 
37  FWGUIQT_API virtual ~SlideViewBuilder();
38 
40  FWGUIQT_API virtual void createContainer( ::fwGui::container::fwContainer::sptr parent ) override;
41 
46  FWGUIQT_API virtual void destroyContainer() override;
47 
48 protected:
49  ::fwGuiQt::container::QtContainer::sptr m_parent;
50 };
51 
52 } // namespace builder
53 } // namespace fwGui
54 
55 #endif /*__FWGUIQT_BUILDER_SLIDEVIEWBUILDER_HPP__*/
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Defines the qt implementation of the slide view builder.
Defines the interface class for the slide view builder.