Lumiera  0.pre.03
»edit your freedom«
DockArea::Panel< P > Class Template Reference

Description

template<class P>
class stage::workspace::DockArea::Panel< P >

A helper class that will create PanelDescription objects.

Parameters
PThe type of panel::Panel that the PanelDescription will describe.
Deprecated:
to be refactored as of 6/2018 /////////////////////////////////////////////TICKET #1144 refactor dock handling

Definition at line 327 of file dock-area.hpp.

Static Private Member Functions

static panel::PanelcreatePanel (DockArea &panelManager, Gdl::DockItem &dockItem)
 helper function to create a panel of type P More...
 

Additional Inherited Members

- Public Member Functions inherited from DockArea::PanelDescription
panel::Panelcreate (DockArea &panelManager, Gdl::DockItem &dockItem) const
 Creates an instance of this panel. More...
 
const std::type_info & getClassInfo () const
 
const char * getClassName () const
 
const gchar * getStockID () const
 
const char * getTitle () const
 the localised title that will be shown on the panel
 
- Protected Types inherited from DockArea::PanelDescription
typedef panel::Panel *(*const CreatePanelProc) (DockArea &, Gdl::DockItem &)
 
- Protected Member Functions inherited from DockArea::PanelDescription
 PanelDescription (std::type_info const &classInfo, const char *title, const gchar *stockID, CreatePanelProc createPanelProc)
 

Member Function Documentation

◆ createPanel()

static panel::Panel* createPanel ( DockArea panelManager,
Gdl::DockItem &  dockItem 
)
inlinestaticprivate

helper function to create a panel of type P

Parameters
panel_managerThe owner panel manager.
dock_itemThe Gdl::DockItem that will host this panel.
Returns
pointer to the created panel object.

Definition at line 345 of file dock-area.hpp.

+ Inheritance diagram for DockArea::Panel< P >:
+ Collaboration diagram for DockArea::Panel< P >:

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