KDDockWidgets API Documentation 2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages Concepts
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
15
16namespace KDDockWidgets {
17
18namespace Core {
19
26{
27 Q_OBJECT
28public:
31 DropLocation hover_impl(Point) override
32 {
33 return {};
34 }
35
37 {
38 return {};
39 }
40
41protected:
42 Point posForIndicator(DropLocation) const override
43 {
44 return {};
45 }
46};
47
48}
49
50}
A dummy DropIndicatorOverlay implementation which doesn't do anything.
Point posForIndicator(DropLocation) const override
returns the position of the specified drop location The return is in global coordinates
Class to abstract QAction, so code still works with QtQuick and Flutter.
DropLocation
Enum describing the different drop indicator types.

© 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