Public Member Functions | Static Public Member Functions | List of all members
ads::CDockComponentsFactory Class Reference

#include <DockComponentsFactory.h>

Inheritance diagram for ads::CDockComponentsFactory:
Inheritance graph
[legend]

Public Member Functions

virtual CDockAreaTabBarcreateDockAreaTabBar (CDockAreaWidget *DockArea) const
 
virtual CDockAreaTitleBarcreateDockAreaTitleBar (CDockAreaWidget *DockArea) const
 
virtual CDockWidgetTabcreateDockWidgetTab (CDockWidget *DockWidget) const
 
virtual ~CDockComponentsFactory ()
 

Static Public Member Functions

static const CDockComponentsFactoryfactory ()
 
static void resetDefaultFactory ()
 
static void setFactory (CDockComponentsFactory *Factory)
 

Detailed Description

Factory for creation of certain GUI elements for the docking framework. A default unique instance provided by CDockComponentsFactory is used for creation of all supported components. To inject your custom components, you can create your own derived dock components factory and register it via setDefaultFactory() function.

CDockComponentsFactory::setDefaultFactory(new MyComponentsFactory()));

Definition at line 35 of file DockComponentsFactory.h.

Constructor & Destructor Documentation

◆ ~CDockComponentsFactory()

virtual ads::CDockComponentsFactory::~CDockComponentsFactory ( )
inlinevirtual

Force virtual destructor

Definition at line 41 of file DockComponentsFactory.h.

Member Function Documentation

◆ createDockAreaTabBar()

CDockAreaTabBar * ads::CDockComponentsFactory::createDockAreaTabBar ( CDockAreaWidget DockArea) const
virtual

This default implementation just creates a dock area tab bar with new CDockAreaTabBar(DockArea).

Definition at line 34 of file DockComponentsFactory.cpp.

◆ createDockAreaTitleBar()

CDockAreaTitleBar * ads::CDockComponentsFactory::createDockAreaTitleBar ( CDockAreaWidget DockArea) const
virtual

This default implementation just creates a dock area title bar with new CDockAreaTitleBar(DockArea).

Reimplemented in SplittableComponentsFactory.

Definition at line 41 of file DockComponentsFactory.cpp.

◆ createDockWidgetTab()

CDockWidgetTab * ads::CDockComponentsFactory::createDockWidgetTab ( CDockWidget DockWidget) const
virtual

This default implementation just creates a dock widget tab with new CDockWidgetTab(DockWIdget).

Definition at line 27 of file DockComponentsFactory.cpp.

◆ factory()

const CDockComponentsFactory * ads::CDockComponentsFactory::factory ( )
static

Returns the default components factory

Definition at line 48 of file DockComponentsFactory.cpp.

◆ resetDefaultFactory()

void ads::CDockComponentsFactory::resetDefaultFactory ( )
static

Resets the current factory to the

Definition at line 62 of file DockComponentsFactory.cpp.

◆ setFactory()

void ads::CDockComponentsFactory::setFactory ( CDockComponentsFactory Factory)
static

Sets a new default factory for creation of GUI elements. This function takes ownership of the given Factory.

Definition at line 55 of file DockComponentsFactory.cpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51