7 #ifndef __FWGUIQT_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HPP__ 8 #define __FWGUIQT_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HPP__ 10 #include "fwGuiQt/config.hpp" 11 #include "fwGuiQt/container/QtToolBarContainer.hpp" 13 #include <fwCore/base.hpp> 15 #include <fwGui/container/fwToolBar.hpp> 18 #include <fwRuntime/ConfigurationElement.hpp> 22 namespace layoutManager
33 ::fwGui::factory::New< ToolBarLayoutManager > );
44 FWGUIQT_API
virtual void createLayout( ::fwGui::container::fwToolBar::sptr parent )
override;
50 FWGUIQT_API
virtual void destroyLayout()
override;
55 FWGUIQT_API
virtual void menuItemSetVisible(::fwGui::container::fwMenuItem::sptr menuItem,
bool isVisible)
override;
60 FWGUIQT_API
virtual void menuItemSetEnabled(::fwGui::container::fwMenuItem::sptr menuItem,
bool isEnabled)
override;
65 FWGUIQT_API
virtual void menuItemSetChecked(::fwGui::container::fwMenuItem::sptr,
bool isChecked)
override;
68 ::fwGuiQt::container::QtToolBarContainer::sptr m_parent;
The namespace fwGui contains the base interface for IHM services.
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.