KDDockWidgets API Documentation
2.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
Functions
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
w
Variables
a
r
s
Typedefs
Enumerations
Enumerator
a
c
d
f
l
m
r
s
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
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
~
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
z
~
Variables
d
g
i
m
n
p
s
v
Typedefs
b
c
l
p
s
t
v
Enumerations
Enumerator
c
f
i
m
r
Properties
a
c
d
f
g
h
i
m
o
s
t
u
Files
File List
File Members
All
a
b
c
d
f
h
i
k
l
m
o
p
q
r
s
t
w
Functions
a
b
c
d
f
h
i
l
m
o
p
q
r
s
t
w
Variables
Enumerations
Enumerator
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
Concepts
Loading...
Searching...
No Matches
source
src
core
core/Separator.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5
Author: Sérgio Martins <sergio.martins@kdab.com>
6
7
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9
Contact KDAB at <info@kdab.com> for commercial licensing options.
10
*/
11
12
#pragma once
13
14
#include "
Controller.h
"
15
#include "kddockwidgets/KDDockWidgets.h"
16
17
namespace
KDDockWidgets
{
18
class
Config;
19
}
20
21
namespace
KDDockWidgets::Core
{
22
23
class
LayoutingSeparator;
24
class
LayoutingHost;
25
class
ItemBoxContainer;
26
27
class
DOCKS_EXPORT
Separator
:
public
Controller
28
{
29
Q_OBJECT
30
public
:
31
typedef
Vector<Separator *>
List
;
32
35
explicit
Separator
(LayoutingHost *host,
Qt::Orientation
orientation, Core::ItemBoxContainer *parentContainer);
36
virtual
~Separator
()
override
;
37
38
bool
isVertical
()
const
;
39
int
position()
const
;
40
void
setGeometry(Rect r);
41
42
LayoutingSeparator *asLayoutingSeparator()
const
;
43
46
static
bool
isResizing();
47
50
static
int
numSeparators();
51
52
public
:
53
void
onMousePress();
54
void
onMouseReleased
();
55
void
onMouseDoubleClick();
56
void
onMouseMove(Point pos);
57
58
private
:
59
friend
class
KDDockWidgets::Config
;
60
61
KDDW_DELETE_COPY_CTOR
(
Separator
)
62
void
setLazyPosition(
int
);
63
bool
usesLazyResize()
const
;
64
65
struct
Private;
66
Private *
const
d;
67
};
27
class
DOCKS_EXPORT
Separator
:
public
Controller
{
…
};
68
69
}
Controller.h
KDDW_DELETE_COPY_CTOR
#define KDDW_DELETE_COPY_CTOR(NAME)
Definition
KDDockWidgets.h:438
KDDockWidgets::Config
Singleton to allow to choose certain behaviours of the framework.
Definition
Config.h:64
KDDockWidgets::Core::Controller
Definition
Controller.h:50
KDDockWidgets::Core::Separator
Definition
core/Separator.h:28
KDDockWidgets::Core::Separator::onMouseReleased
void onMouseReleased()
KDDockWidgets::Core::Separator::isVertical
bool isVertical() const
KDDockWidgets::Core::Separator::List
Vector< Separator * > List
Definition
core/Separator.h:31
KDDockWidgets::Core
Definition
Config.h:27
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
Qt::Orientation
Orientation
KDToolBox::StlContainerAdaptor::StdVectorAdaptor
Definition
KDStlContainerAdaptor.h:43
© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8