9 #include "fwGui/config.hpp" 11 #include <fwCom/Slot.hpp> 12 #include <fwCom/Slots.hpp> 14 #include <fwServices/IService.hpp> 23 namespace layoutManager
33 class IToolBarBuilder;
34 class IContainerBuilder;
35 class ISlideViewBuilder;
114 FWGUI_API
void setParent(
std::
string wid);
120 FWGUI_API virtual ~IGuiContainerSrv();
122 typedef ::
fwRuntime::ConfigurationElement::sptr ConfigurationType;
130 FWGUI_API
void initialize();
137 FWGUI_API
void create();
140 FWGUI_API
void destroy();
146 FWGUI_API static const ::
fwCom::Slots::SlotKeyType s_SET_ENABLED_SLOT;
150 FWGUI_API static const ::
fwCom::Slots::SlotKeyType s_ENABLE_SLOT;
153 FWGUI_API static const ::
fwCom::Slots::SlotKeyType s_DISABLE_SLOT;
156 FWGUI_API static const ::
fwCom::Slots::SlotKeyType s_SET_VISIBLE_SLOT;
159 FWGUI_API static const ::
fwCom::Slots::SlotKeyType s_SHOW_SLOT;
162 FWGUI_API static const ::
fwCom::Slots::SlotKeyType s_HIDE_SLOT;
165 FWGUI_API
void setEnabled(
bool isEnabled);
167 FWGUI_API
void enable();
169 FWGUI_API
void disable();
171 FWGUI_API
void setVisible(
bool isVisible);
173 FWGUI_API
void show();
175 FWGUI_API
void hide();
183 typedef
std::vector<
SPTR(::
fwGui::builder::ISlideViewBuilder) > SlideViewContainerType;
185 void initializeLayoutManager( ::
fwRuntime::ConfigurationElement::sptr layoutConfig );
186 void initializeToolBarBuilder( ::
fwRuntime::ConfigurationElement::sptr toolBarConfig );
187 void initializeSlideViewBuilder( ::
fwRuntime::ConfigurationElement::sptr slideViewConfig );
189 bool m_viewLayoutManagerIsCreated;
190 SPTR( ::
fwGui::layoutManager::IViewLayoutManager) m_viewLayoutManager;
192 SPTR( ::
fwGui::registrar::ViewRegistrar) m_viewRegistrar;
193 SPTR( ::
fwGui::builder::IToolBarBuilder) m_toolBarBuilder;
194 SPTR( ::
fwGui::builder::IContainerBuilder) m_containerBuilder;
195 SlideViewContainerType m_slideViewBuilders;
197 ConfigurationType m_viewRegistrarConfig;
198 ConfigurationType m_viewLayoutConfig;
199 ConfigurationType m_toolBarConfig;
200 ConfigurationType m_slideViewConfig;
Base class for all services.
The namespace fwGui contains the base interface for IHM services.
Namespace containing fw4spl communication tools.
Defines the generic layout manager for IHM.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
Defines the service interface managing the layout.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Defines the generic view manager for IHM.
Defines the generic container for IHM.