Defines the base for line layout manager.
More...
#include <ToolboxLayoutManagerBase.hpp>
|
typedef std::string | RegistryKeyType |
|
typedef ::fwRuntime::ConfigurationElement::sptr | ConfigurationType |
|
typedef ::fwGui::factory::Key | Key |
|
|
virtual bool | isA (const std::string &type) const override |
|
FWGUI_API | ToolboxLayoutManagerBase () |
| Constructor. Do nothing.
|
|
virtual FWGUI_API | ~ToolboxLayoutManagerBase () |
| Destructor. Do nothing.
|
|
virtual FWGUI_API void | initialize (ConfigurationType configuration) override |
| Initialize Line layout manager before the creation of layout. More...
|
|
FWGUI_API | IViewLayoutManager () |
| Constructor. Do nothing.
|
|
virtual FWGUI_API | ~IViewLayoutManager () |
| Destructor. Do nothing.
|
|
virtual FWGUI_API void | createLayout (::fwGui::container::fwContainer::sptr parent)=0 |
| Instantiate layout with parent container. More...
|
|
virtual FWGUI_API void | destroyLayout ()=0 |
| Destroy local layout with sub containers. More...
|
|
virtual FWGUI_API std::vector< ::fwGui::container::fwContainer::sptr > | getSubViews () |
| Returns all sub containers managed by this layout.
|
|
virtual const std::string & | getLeafClassname () const |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
static bool | isTypeOf (const std::string &type) |
|
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 bool | isTypeOf (const std::string &type) |
|
static const std::string & | classname () |
| return full object's classname with its namespace, i.e. 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
|
|
|
static FWGUI_API const RegistryKeyType | REGISTRY_KEY |
|
|
std::list< ViewInfo > | getViewsInfo () |
|
virtual FWGUI_API void | destroySubViews () |
| Helper to destroy local sub views.
|
|
| GuiBaseObject () |
|
virtual | ~GuiBaseObject () |
|
|
std::vector< ::fwGui::container::fwContainer::sptr > | m_subViews |
| All sub containers managed by this layout.
|
|
Defines the base for line layout manager.
Definition at line 24 of file ToolboxLayoutManagerBase.hpp.
void fwGui::layoutManager::ToolboxLayoutManagerBase::initialize |
( |
ConfigurationType |
configuration | ) |
|
|
overridevirtual |
Initialize Line layout manager before the creation of layout.
Example of configuration with cardinal layout.
1 <
service uid=
"subView2" type=
"::gui::view::SDefaultView" autoConnect=
"no" >
3 <
layout type=
"::fwGui::ToolboxLayoutManager">
4 <
view caption=
"My view 1" expanded=
"true" />
5 <
view caption=
"My view 2" expanded=
"true" />
6 <
view caption=
"My view 3" expanded=
"false" />
11 <
view sid=
"view1" start=
"yes" />
12 <
view sid=
"view2" start=
"no" />
13 <
view wid=
"view3WID" />
- <layout type="::fwGui::ToolboxLayoutManager" > : define a toolbox layout.
- <view caption="My view 1" expanded="true" minWidth="30" /> : define a new view which can have the following attributes
- border : define the size of the border in the layout
- caption : define the title to display.
- minWidth : minimal width of the view.
- minHeight : minimal height of the view.
- visible {true | yes | false | no} : define if the view is visible or not.
- expanded {true | yes | false | no} : define if the view is expanded or not.
- useScrollBar {true | yes | false | no} : define if the view use scrollbar or not.
Implements fwGui::layoutManager::IViewLayoutManager.
Definition at line 44 of file ToolboxLayoutManagerBase.cpp.
References OSLM_ASSERT.
const ToolboxLayoutManagerBase::RegistryKeyType fwGui::layoutManager::ToolboxLayoutManagerBase::REGISTRY_KEY |
|
static |
The documentation for this class was generated from the following files: