#include <DockComponentsFactory.h>
Public Member Functions | |
virtual CDockAreaTabBar * | createDockAreaTabBar (CDockAreaWidget *DockArea) const |
virtual CDockAreaTitleBar * | createDockAreaTitleBar (CDockAreaWidget *DockArea) const |
virtual CDockWidgetTab * | createDockWidgetTab (CDockWidget *DockWidget) const |
virtual | ~CDockComponentsFactory () |
Static Public Member Functions | |
static const CDockComponentsFactory * | factory () |
static void | resetDefaultFactory () |
static void | setFactory (CDockComponentsFactory *Factory) |
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.
Definition at line 35 of file DockComponentsFactory.h.
|
inlinevirtual |
Force virtual destructor
Definition at line 41 of file DockComponentsFactory.h.
|
virtual |
This default implementation just creates a dock area tab bar with new CDockAreaTabBar(DockArea).
Definition at line 34 of file DockComponentsFactory.cpp.
|
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.
|
virtual |
This default implementation just creates a dock widget tab with new CDockWidgetTab(DockWIdget).
Definition at line 27 of file DockComponentsFactory.cpp.
|
static |
Returns the default components factory
Definition at line 48 of file DockComponentsFactory.cpp.
|
static |
Resets the current factory to the
Definition at line 62 of file DockComponentsFactory.cpp.
|
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.