KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
flutter/views/ClassicIndicatorsWindow.h
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2023 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 "View.h"
16
17namespace KDDockWidgets {
18
19namespace Core {
20class ClassicDropIndicatorOverlay;
21class Group;
22}
23
24namespace flutter {
25
27{
28public:
31 ~IndicatorWindow() override;
32
33 DropLocation hover(Point globalPos) override;
34 void updatePositions() override;
35 Point posForIndicator(DropLocation) const override;
36 void raise() override;
37 void setVisible(bool) override;
38 bool isWindow() const override;
39 void setGeometry(Rect) override;
40 void resize(Size) override;
41 void setObjectName(const QString &) override;
42
44 virtual Point posForIndicator_flutter(DropLocation) const;
45 virtual DropLocation hover_flutter(Point globalPos);
46 virtual bool updatePositions_flutter(int overlayWidth, int overlayHeight,
47 Core::Group *hoveredGroup, int visibleLocations);
48
49 Core::View *rubberBand() const;
51
52private:
53 int visibleDropIndicatorLocations() const;
54 Core::ClassicDropIndicatorOverlay *const classicIndicators;
55 bool m_updatePending = false;
56};
57
58}
59
60}
The window that will hold the classic indicators This is a window so it can be over the window that i...
virtual Point posForIndicator_flutter(DropLocation) const
implemented in dart. workaround for multi-inheritance binding limitations
virtual bool updatePositions_flutter(int overlayWidth, int overlayHeight, Core::Group *hoveredGroup, int visibleLocations)
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