fw4spl
fwGui::builder::ToolBarBuilder Class Reference

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

#include <ToolBarBuilder.hpp>

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

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUIQT_API ToolBarBuilder (::fwGui::GuiBaseObject::Key key)
 
virtual FWGUIQT_API void createToolBar (::fwGui::container::fwContainer::sptr parent) override
 Instantiate layout with parent toolBar. More...
 
virtual FWGUIQT_API void destroyToolBar () override
 Destroy local layout with sub containers. More...
 
- Public Member Functions inherited from fwGui::builder::IToolBarBuilder
FWGUI_API IToolBarBuilder ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~IToolBarBuilder ()
 Destructor. Do nothing.
 
virtual FWGUI_API::fwGui::container::fwToolBar::sptr getToolBar ()
 Returns the builded tool bar.
 
virtual FWGUI_API void initialize (::fwRuntime::ConfigurationElement::sptr configuration)
 Initialize the tool bar. More...
 
- 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::IToolBarBuilder
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::IToolBarBuilder
::fwGui::container::fwToolBar::sptr m_toolBar
 ToolBar.
 
std::pair< int, int > m_toolBitmapSize
 
Aligment m_aligment
 

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::IToolBarBuilder
enum  Aligment { TOP, BOTTOM, RIGHT, LEFT }
 
typedef std::string RegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 
- Static Public Attributes inherited from fwGui::builder::IToolBarBuilder
FWGUI_API static const RegistryKeyType REGISTRY_KEY = "::fwGui::ToolBarBuilder"
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

Defines the generic layout manager for IHM.

Definition at line 30 of file ToolBarBuilder.hpp.

Member Function Documentation

void fwGui::builder::ToolBarBuilder::createToolBar ( ::fwGui::container::fwContainer::sptr  parent)
overridevirtual

Instantiate layout with parent toolBar.

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

Implements fwGui::builder::IToolBarBuilder.

Definition at line 40 of file ToolBarBuilder.cpp.

References fwGui::builder::IToolBarBuilder::m_toolBar, and SLM_ASSERT.

void fwGui::builder::ToolBarBuilder::destroyToolBar ( )
overridevirtual

Destroy local layout with sub containers.

Precondition
services using this sub containers must be stopped before.

Implements fwGui::builder::IToolBarBuilder.

Definition at line 111 of file ToolBarBuilder.cpp.

References fwGui::builder::IToolBarBuilder::m_toolBar, and SLM_ASSERT.


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