fw4spl
fwGui::builder::MenuBarBuilder Class Reference

Defines the generic layout manager for IHM. More...

#include <MenuBarBuilder.hpp>

+ Inheritance diagram for fwGui::builder::MenuBarBuilder:
+ Collaboration diagram for fwGui::builder::MenuBarBuilder:

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUIQT_API MenuBarBuilder (::fwGui::GuiBaseObject::Key key)
 
virtual FWGUIQT_API void createMenuBar (::fwGui::container::fwContainer::sptr parent) override
 Instantiate layout with parent menuBar. More...
 
virtual FWGUIQT_API void destroyMenuBar () override
 Destroy local layout with sub containers. More...
 
- Public Member Functions inherited from fwGui::builder::IMenuBarBuilder
FWGUI_API IMenuBarBuilder ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~IMenuBarBuilder ()
 Destructor. Do nothing.
 
virtual FWGUI_API::fwGui::container::fwMenuBar::sptr getMenuBar ()
 Returns the builded menu bar.
 
virtual FWGUI_API void initialize (::fwRuntime::ConfigurationElement::sptr configuration)
 Configure the layout before creation.
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::builder::IMenuBarBuilder
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Protected Attributes

::fwGuiQt::container::QtContainer::sptr m_parent
 
- Protected Attributes inherited from fwGui::builder::IMenuBarBuilder
::fwGui::container::fwMenuBar::sptr m_menuBar
 MenuBar.
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Additional Inherited Members

- Public Types inherited from fwGui::builder::IMenuBarBuilder
typedef std::string RegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 
- Static Public Attributes inherited from fwGui::builder::IMenuBarBuilder
FWGUI_API static const RegistryKeyType REGISTRY_KEY = "::fwGui::MenuBarBuilder"
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

Defines the generic layout manager for IHM.

Definition at line 29 of file MenuBarBuilder.hpp.

Member Function Documentation

void fwGui::builder::MenuBarBuilder::createMenuBar ( ::fwGui::container::fwContainer::sptr  parent)
overridevirtual

Instantiate layout with parent menuBar.

Precondition
LayoutManager must be initialized before.
parent menuBar must be instanced.

Implements fwGui::builder::IMenuBarBuilder.

Definition at line 38 of file MenuBarBuilder.cpp.

References fwGui::builder::IMenuBarBuilder::m_menuBar, and SLM_ASSERT.

void fwGui::builder::MenuBarBuilder::destroyMenuBar ( )
overridevirtual

Destroy local layout with sub containers.

Precondition
services using this sub containers must be stopped before.

Implements fwGui::builder::IMenuBarBuilder.

Definition at line 61 of file MenuBarBuilder.cpp.

References fwGui::builder::IMenuBarBuilder::m_menuBar, and SLM_ASSERT.


The documentation for this class was generated from the following files: