KDDockWidgets API Documentation
2.0
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
}
25
26
DropArea::~DropArea
()
27
{
28
if
(!
Core::View::d
->freed())
29
m_dropArea->
viewAboutToBeDeleted
();
30
}
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