KDDockWidgets API Documentation
2.0
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
o
p
q
r
s
t
v
w
Functions
a
b
c
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
~
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
d
g
i
m
p
s
v
Typedefs
b
c
l
p
s
t
v
Enumerations
Enumerator
c
f
i
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
qtquick
views
qtquick/views/DropArea.cpp
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2019 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
#include "
DropArea.h
"
13
#include "core/View_p.h"
14
#include "kddockwidgets/core/DropArea.h"
15
16
using namespace
KDDockWidgets
;
17
using namespace
KDDockWidgets::QtQuick
;
18
19
DropArea::DropArea
(
Core::DropArea
*dropArea,
Core::View
*parent)
20
:
QtQuick
::
View
(dropArea, Core::ViewType::
DropArea
,
asQQuickItem
(parent))
21
, m_dropArea(dropArea)
22
{
23
Q_ASSERT(dropArea);
24
}
19
DropArea::DropArea
(
Core::DropArea
*dropArea,
Core::View
*parent) {
…
}
25
26
DropArea::~DropArea
()
27
{
28
if
(!
Core::View::d
->freed())
29
m_dropArea->
viewAboutToBeDeleted
();
30
}
26
DropArea::~DropArea
() {
…
}
KDDockWidgets::Core::DropArea
Definition
core/DropArea.h:55
KDDockWidgets::Core::Layout::viewAboutToBeDeleted
void viewAboutToBeDeleted()
Definition
Layout.cpp:56
KDDockWidgets::Core::View
Definition
core/View.h:48
KDDockWidgets::Core::View::d
Private *const d
Definition
core/View.h:250
KDDockWidgets::QtQuick::DropArea
Definition
qtquick/views/DropArea.h:28
KDDockWidgets::QtQuick::DropArea::DropArea
DropArea(Core::DropArea *, Core::View *parent)
Definition
qtquick/views/DropArea.cpp:19
KDDockWidgets::QtQuick::DropArea::~DropArea
~DropArea()
Definition
qtquick/views/DropArea.cpp:26
KDDockWidgets::QtQuick::View
Definition
qtquick/views/View.h:53
KDDockWidgets::QtQuick
Definition
core/MainWindow.h:36
KDDockWidgets::QtQuick::asQQuickItem
QQuickItem * asQQuickItem(Core::View *view)
Definition
qtquick/views/View.h:34
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
KDDockWidgets::FrontendType::QtQuick
@ QtQuick
DropArea.h
A MultiSplitter with support for drop indicators when hovering over.
© 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