Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
3rdparty
Qt-Advanced-Docking
src
DockComponentsFactory.cpp
Go to the documentation of this file.
1
//============================================================================
6
//============================================================================
7
8
//============================================================================
9
// INCLUDES
10
//============================================================================
11
#include "
DockComponentsFactory.h
"
12
13
#include <memory>
14
15
#include "
DockWidgetTab.h
"
16
#include "
DockAreaTabBar.h
"
17
#include "
DockAreaTitleBar.h
"
18
#include "
DockWidget.h
"
19
#include "
DockAreaWidget.h
"
20
21
namespace
ads
22
{
23
static
std::unique_ptr<CDockComponentsFactory>
DefaultFactory
(
new
CDockComponentsFactory());
24
25
26
//============================================================================
27
CDockWidgetTab
*
CDockComponentsFactory::createDockWidgetTab
(
CDockWidget
*
DockWidget
)
const
28
{
29
return
new
CDockWidgetTab
(
DockWidget
);
30
}
31
32
33
//============================================================================
34
CDockAreaTabBar
*
CDockComponentsFactory::createDockAreaTabBar
(
CDockAreaWidget
* DockArea)
const
35
{
36
return
new
CDockAreaTabBar
(DockArea);
37
}
38
39
40
//============================================================================
41
CDockAreaTitleBar
*
CDockComponentsFactory::createDockAreaTitleBar
(
CDockAreaWidget
* DockArea)
const
42
{
43
return
new
CDockAreaTitleBar
(DockArea);
44
}
45
46
47
//============================================================================
48
const
CDockComponentsFactory
*
CDockComponentsFactory::factory
()
49
{
50
return
DefaultFactory
.get();
51
}
52
53
54
//============================================================================
55
void
CDockComponentsFactory::setFactory
(
CDockComponentsFactory
* Factory)
56
{
57
DefaultFactory
.reset(Factory);
58
}
59
60
61
//============================================================================
62
void
CDockComponentsFactory::resetDefaultFactory
()
63
{
64
DefaultFactory
.reset(
new
CDockComponentsFactory
());
65
}
66
}
// namespace ads
67
68
//---------------------------------------------------------------------------
69
// EOF DockComponentsFactory.cpp
ads::CDockComponentsFactory::setFactory
static void setFactory(CDockComponentsFactory *Factory)
Definition:
DockComponentsFactory.cpp:55
ads::CDockComponentsFactory::resetDefaultFactory
static void resetDefaultFactory()
Definition:
DockComponentsFactory.cpp:62
ads::CDockComponentsFactory
Definition:
DockComponentsFactory.h:35
ads::CDockComponentsFactory::factory
static const CDockComponentsFactory * factory()
Definition:
DockComponentsFactory.cpp:48
ads::CDockAreaTitleBar
Definition:
DockAreaTitleBar.h:50
DockWidget.h
Declaration of CDockWidget class.
DockAreaTabBar.h
Declaration of CDockAreaTabBar class.
ads::CDockComponentsFactory::createDockAreaTitleBar
virtual CDockAreaTitleBar * createDockAreaTitleBar(CDockAreaWidget *DockArea) const
Definition:
DockComponentsFactory.cpp:41
ads::CDockAreaWidget
Definition:
DockAreaWidget.h:55
ads::CDockComponentsFactory::createDockAreaTabBar
virtual CDockAreaTabBar * createDockAreaTabBar(CDockAreaWidget *DockArea) const
Definition:
DockComponentsFactory.cpp:34
ads
Definition:
ads_globals.h:69
DockWidget
Definition:
plot_docker.h:16
DockComponentsFactory.h
Declaration of DockComponentsFactory.
DockAreaTitleBar.h
Declaration of CDockAreaTitleBar class.
ads::CDockAreaTabBar
Definition:
DockAreaTabBar.h:53
ads::CDockWidget
Definition:
DockWidget.h:54
DockAreaWidget.h
Declaration of CDockAreaWidget class.
ads::CDockComponentsFactory::createDockWidgetTab
virtual CDockWidgetTab * createDockWidgetTab(CDockWidget *DockWidget) const
Definition:
DockComponentsFactory.cpp:27
DockWidgetTab.h
Declaration of CDockWidgetTab class.
ads::DefaultFactory
static std::unique_ptr< CDockComponentsFactory > DefaultFactory(new CDockComponentsFactory())
ads::CDockWidgetTab
Definition:
DockWidgetTab.h:50
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:23