3rdparty
Qt-Advanced-Docking
include
Qads
DockComponentsFactory.h
Go to the documentation of this file.
1
#ifndef DockComponentsFactoryH
2
#define DockComponentsFactoryH
3
//============================================================================
8
//============================================================================
9
10
//============================================================================
11
// INCLUDES
12
//============================================================================
13
#include "
ads_globals.h
"
14
15
namespace
ads
16
{
17
class
CDockWidgetTab;
18
class
CDockAreaTitleBar;
19
class
CDockAreaTabBar;
20
class
CDockAreaWidget;
21
class
CDockWidget;
22
23
24
35
class
ADS_EXPORT
CDockComponentsFactory
36
{
37
public
:
41
virtual
~CDockComponentsFactory
() {}
42
47
virtual
CDockWidgetTab
* createDockWidgetTab(
CDockWidget
*
DockWidget
)
const
;
48
53
virtual
CDockAreaTabBar
* createDockAreaTabBar(
CDockAreaWidget
* DockArea)
const
;
54
59
virtual
CDockAreaTitleBar
* createDockAreaTitleBar(
CDockAreaWidget
* DockArea)
const
;
60
64
static
const
CDockComponentsFactory
* factory();
65
70
static
void
setFactory(
CDockComponentsFactory
* Factory);
71
75
static
void
resetDefaultFactory();
76
};
77
78
82
inline
const
CDockComponentsFactory
*
componentsFactory
()
83
{
84
return
CDockComponentsFactory::factory
();
85
}
86
87
}
// namespace ads
88
89
//---------------------------------------------------------------------------
90
#endif // DockComponentsFactoryH
ads_globals.h
Declaration of.
ads::CDockComponentsFactory
Definition:
DockComponentsFactory.h:35
ads::CDockComponentsFactory::factory
static const CDockComponentsFactory * factory()
Definition:
DockComponentsFactory.cpp:48
ads::CDockAreaTitleBar
Definition:
DockAreaTitleBar.h:50
ads::CDockAreaWidget
Definition:
DockAreaWidget.h:55
ads::CDockComponentsFactory::~CDockComponentsFactory
virtual ~CDockComponentsFactory()
Definition:
DockComponentsFactory.h:41
ads::componentsFactory
const CDockComponentsFactory * componentsFactory()
Definition:
DockComponentsFactory.h:82
ads
Definition:
ads_globals.h:69
DockWidget
Definition:
plot_docker.h:16
ads::CDockAreaTabBar
Definition:
DockAreaTabBar.h:53
ads::CDockWidget
Definition:
DockWidget.h:54
ads::CDockWidgetTab
Definition:
DockWidgetTab.h:50
ADS_EXPORT
#define ADS_EXPORT
Definition:
ads_globals.h:50
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44