7 #ifndef __FWGUIQT_LAYOUTMANAGER_MENUBARLAYOUTMANAGER_HPP__ 8 #define __FWGUIQT_LAYOUTMANAGER_MENUBARLAYOUTMANAGER_HPP__ 10 #include "fwGuiQt/config.hpp" 11 #include "fwGuiQt/container/QtMenuBarContainer.hpp" 13 #include <fwCore/base.hpp> 15 #include <fwGui/container/fwMenu.hpp> 16 #include <fwGui/container/fwMenuBar.hpp> 19 #include <fwRuntime/ConfigurationElement.hpp> 23 namespace layoutManager
34 ::fwGui::factory::New< MenuBarLayoutManager > );
45 FWGUIQT_API
virtual void createLayout( ::fwGui::container::fwMenuBar::sptr parent )
override;
51 FWGUIQT_API
virtual void destroyLayout()
override;
56 FWGUIQT_API
virtual void menuIsVisible(::fwGui::container::fwMenu::sptr fwMenu,
bool isVisible)
override;
61 FWGUIQT_API
virtual void menuIsEnabled(::fwGui::container::fwMenu::sptr fwMenu,
bool isEnabled)
override;
64 ::fwGuiQt::container::QtMenuBarContainer::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.