KDDockWidgets API Documentation
2.1
Loading...
Searching...
No Matches
source
src
core
indicators
NullDropIndicatorOverlay.h
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
#pragma once
13
14
#include "
core/DropIndicatorOverlay.h
"
15
16
namespace
KDDockWidgets
{
17
18
namespace
Core {
19
25
class
DOCKS_EXPORT
NullDropIndicatorOverlay
:
public
DropIndicatorOverlay
26
{
27
Q_OBJECT
28
public
:
29
explicit
NullDropIndicatorOverlay
(
Core::DropArea
*);
30
~NullDropIndicatorOverlay
()
override
;
31
DropLocation
hover_impl
(Point)
override
32
{
33
return
{};
34
}
35
36
DropLocation
dropLocationForPos
(Point)
const
37
{
38
return
{};
39
}
40
41
protected
:
42
Point
posForIndicator
(
DropLocation
)
const override
43
{
44
return
{};
45
}
46
};
47
48
}
49
50
}
DropIndicatorOverlay.h
KDDockWidgets::Core::DropArea
Definition
core/DropArea.h:55
KDDockWidgets::Core::DropIndicatorOverlay
Definition
DropIndicatorOverlay.h:36
KDDockWidgets::Core::NullDropIndicatorOverlay
A dummy DropIndicatorOverlay implementation which doesn't do anything.
Definition
NullDropIndicatorOverlay.h:26
KDDockWidgets::Core::NullDropIndicatorOverlay::hover_impl
DropLocation hover_impl(Point) override
Definition
NullDropIndicatorOverlay.h:31
KDDockWidgets::Core::NullDropIndicatorOverlay::posForIndicator
Point posForIndicator(DropLocation) const override
returns the position of the specified drop location The return is in global coordinates
Definition
NullDropIndicatorOverlay.h:42
KDDockWidgets::Core::NullDropIndicatorOverlay::~NullDropIndicatorOverlay
~NullDropIndicatorOverlay() override
KDDockWidgets::Core::NullDropIndicatorOverlay::dropLocationForPos
DropLocation dropLocationForPos(Point) const
Definition
NullDropIndicatorOverlay.h:36
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
KDDockWidgets::DropLocation
DropLocation
Enum describing the different drop indicator types.
Definition
KDDockWidgets.h:289
© 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