KDDockWidgets API Documentation
2.1
Loading...
Searching...
No Matches
source
src
core
indicators
ClassicDropIndicatorOverlay.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
class
Indicator;
19
20
namespace
Core {
21
22
class
ClassicIndicatorWindowViewInterface;
23
24
class
DOCKS_EXPORT
ClassicDropIndicatorOverlay
:
public
DropIndicatorOverlay
25
{
26
Q_OBJECT
27
public
:
28
explicit
ClassicDropIndicatorOverlay
(
Core::DropArea
*dropArea);
29
~ClassicDropIndicatorOverlay
()
override
;
30
DropLocation
hover_impl(Point globalPos)
override
;
31
Point posForIndicator(
DropLocation
)
const override
;
32
33
bool
onResize(Size newSize);
34
void
setCurrentDropLocation(
DropLocation
)
override
;
35
void
updateVisibility()
override
;
36
37
Core::ClassicIndicatorWindowViewInterface
*indicatorWindow()
const
;
38
View
*rubberBand()
const
;
39
40
private
:
41
friend
class
KDDockWidgets::Indicator;
42
bool
rubberBandIsTopLevel()
const
;
43
void
raiseIndicators();
44
Rect geometryForRubberband(Rect localRect)
const
;
45
void
updateWindowPosition();
46
47
View
*
const
m_rubberBand;
48
Core::ClassicIndicatorWindowViewInterface
*
const
m_indicatorWindow;
49
};
50
51
}
52
53
}
DropIndicatorOverlay.h
KDDockWidgets::Core::ClassicDropIndicatorOverlay
Definition
ClassicDropIndicatorOverlay.h:25
KDDockWidgets::Core::ClassicIndicatorWindowViewInterface
The window that will hold the classic indicators This is a window so it can be over the window that i...
Definition
ClassicIndicatorWindowViewInterface.h:25
KDDockWidgets::Core::DropArea
Definition
core/DropArea.h:55
KDDockWidgets::Core::DropIndicatorOverlay
Definition
DropIndicatorOverlay.h:36
KDDockWidgets::Core::View
Definition
core/View.h:48
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