KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
DropIndicatorOverlay_c.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#include "kddockwidgets_export.h"
13#include "core/DropArea.h"
14#include <core/View.h>
15#include <core/Group.h>
16#include <geometry_helpers_p.h>
17
20{
21public:
26 virtual bool dropIndicatorVisible(KDDockWidgets::DropLocation arg__1) const;
28 KDDockWidgets::DropLocation hover(KDDockWidgets::Point globalPos);
29 virtual KDDockWidgets::DropLocation hover_impl(KDDockWidgets::Point globalPos);
30 virtual KDDockWidgets::DropLocation hover_impl_nocallback(KDDockWidgets::Point globalPos);
32 KDDockWidgets::Rect hoveredGroupRect() const;
33 bool isHovered() const;
37 virtual KDDockWidgets::Point posForIndicator(KDDockWidgets::DropLocation arg__1) const;
38 virtual KDDockWidgets::Point posForIndicator_nocallback(KDDockWidgets::DropLocation arg__1) const;
39 void removeHover();
45 void setWindowBeingDragged(bool arg__1);
46 virtual void updateVisibility();
47 virtual void updateVisibility_nocallback();
50 typedef KDDockWidgets::DropLocation (*Callback_hover_impl)(void *, KDDockWidgets::Point *globalPos);
54 typedef KDDockWidgets::Point *(*Callback_posForIndicator)(void *, KDDockWidgets::DropLocation arg__1);
60 typedef void (*Callback_updateVisibility)(void *);
62};
63}
64extern "C" {
65// KDDockWidgets::Core::DropIndicatorOverlay::DropIndicatorOverlay(KDDockWidgets::Core::DropArea * dropArea)
67// KDDockWidgets::Core::DropIndicatorOverlay::DropIndicatorOverlay(KDDockWidgets::Core::DropArea * dropArea, KDDockWidgets::Core::View * view)
68DOCKS_EXPORT void *c_KDDockWidgets__Core__DropIndicatorOverlay__constructor_DropArea_View(void *dropArea_, void *view_);
69// KDDockWidgets::Core::DropIndicatorOverlay::currentDropLocation() const
71// KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(KDDockWidgets::DropLocation arg__1) const
73// KDDockWidgets::Core::DropIndicatorOverlay::hover(KDDockWidgets::Point globalPos)
74DOCKS_EXPORT int c_KDDockWidgets__Core__DropIndicatorOverlay__hover_Point(void *thisObj, void *globalPos_);
75// KDDockWidgets::Core::DropIndicatorOverlay::hover_impl(KDDockWidgets::Point globalPos)
76DOCKS_EXPORT int c_KDDockWidgets__Core__DropIndicatorOverlay__hover_impl_Point(void *thisObj, void *globalPos_);
77// KDDockWidgets::Core::DropIndicatorOverlay::hoveredGroup() const
78DOCKS_EXPORT void *c_KDDockWidgets__Core__DropIndicatorOverlay__hoveredGroup(void *thisObj);
79// KDDockWidgets::Core::DropIndicatorOverlay::hoveredGroupRect() const
81// KDDockWidgets::Core::DropIndicatorOverlay::isHovered() const
82DOCKS_EXPORT bool c_KDDockWidgets__Core__DropIndicatorOverlay__isHovered(void *thisObj);
83// KDDockWidgets::Core::DropIndicatorOverlay::multisplitterLocationFor(KDDockWidgets::DropLocation arg__1)
85// KDDockWidgets::Core::DropIndicatorOverlay::onHoveredGroupChanged(KDDockWidgets::Core::Group * arg__1)
86DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__onHoveredGroupChanged_Group(void *thisObj, void *arg__1_);
87// KDDockWidgets::Core::DropIndicatorOverlay::posForIndicator(KDDockWidgets::DropLocation arg__1) const
88DOCKS_EXPORT void *c_KDDockWidgets__Core__DropIndicatorOverlay__posForIndicator_DropLocation(void *thisObj, int arg__1);
89// KDDockWidgets::Core::DropIndicatorOverlay::removeHover()
91// KDDockWidgets::Core::DropIndicatorOverlay::setCurrentDropLocation(KDDockWidgets::DropLocation arg__1)
93// KDDockWidgets::Core::DropIndicatorOverlay::setHoveredGroup(KDDockWidgets::Core::Group * arg__1)
94DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setHoveredGroup_Group(void *thisObj, void *arg__1_);
95// KDDockWidgets::Core::DropIndicatorOverlay::setParentView_impl(KDDockWidgets::Core::View * parent)
96DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setParentView_impl_View(void *thisObj, void *parent_);
97// KDDockWidgets::Core::DropIndicatorOverlay::setWindowBeingDragged(bool arg__1)
98DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setWindowBeingDragged_bool(void *thisObj, bool arg__1);
99// KDDockWidgets::Core::DropIndicatorOverlay::updateVisibility()
101DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__destructor(void *thisObj);
102DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
103DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay_Finalizer(void *cppObj);
104}
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropIndicatorOverlay__hoveredGroupRect(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setWindowBeingDragged_bool(void *thisObj, bool arg__1)
DOCKS_EXPORT int c_static_KDDockWidgets__Core__DropIndicatorOverlay__multisplitterLocationFor_DropLocation(int arg__1)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__onHoveredGroupChanged_Group(void *thisObj, void *arg__1_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropIndicatorOverlay__constructor_DropArea(void *dropArea_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__removeHover(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropIndicatorOverlay__hoveredGroup(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
DOCKS_EXPORT int c_KDDockWidgets__Core__DropIndicatorOverlay__hover_impl_Point(void *thisObj, void *globalPos_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__updateVisibility(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropIndicatorOverlay__dropIndicatorVisible_DropLocation(void *thisObj, int arg__1)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setHoveredGroup_Group(void *thisObj, void *arg__1_)
DOCKS_EXPORT int c_KDDockWidgets__Core__DropIndicatorOverlay__currentDropLocation(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropIndicatorOverlay__posForIndicator_DropLocation(void *thisObj, int arg__1)
DOCKS_EXPORT int c_KDDockWidgets__Core__DropIndicatorOverlay__hover_Point(void *thisObj, void *globalPos_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setParentView_impl_View(void *thisObj, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__setCurrentDropLocation_DropLocation(void *thisObj, int arg__1)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropIndicatorOverlay__isHovered(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay_Finalizer(void *cppObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropIndicatorOverlay__destructor(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropIndicatorOverlay__constructor_DropArea_View(void *dropArea_, void *view_)
static KDDockWidgets::Location multisplitterLocationFor(KDDockWidgets::DropLocation arg__1)
virtual void setParentView_impl(KDDockWidgets::Core::View *parent)
virtual void setParentView_impl_nocallback(KDDockWidgets::Core::View *parent)
KDDockWidgets::DropLocation(* Callback_hover_impl)(void *, KDDockWidgets::Point *globalPos)
virtual void setCurrentDropLocation(KDDockWidgets::DropLocation arg__1)
virtual KDDockWidgets::Point posForIndicator_nocallback(KDDockWidgets::DropLocation arg__1) const
KDDockWidgets::Point *(* Callback_posForIndicator)(void *, KDDockWidgets::DropLocation arg__1)
virtual bool dropIndicatorVisible_nocallback(KDDockWidgets::DropLocation arg__1) const
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Point posForIndicator(KDDockWidgets::DropLocation arg__1) const
returns the position of the specified drop location The return is in global coordinates
virtual void onHoveredGroupChanged(KDDockWidgets::Core::Group *arg__1)
void(* Callback_setCurrentDropLocation)(void *, KDDockWidgets::DropLocation arg__1)
virtual bool dropIndicatorVisible(KDDockWidgets::DropLocation arg__1) const
Returns whether the specified drop indicator should be visible.
KDDockWidgets::DropLocation hover(KDDockWidgets::Point globalPos)
virtual KDDockWidgets::DropLocation hover_impl_nocallback(KDDockWidgets::Point globalPos)
virtual void onHoveredGroupChanged_nocallback(KDDockWidgets::Core::Group *arg__1)
bool(* Callback_dropIndicatorVisible)(void *, KDDockWidgets::DropLocation arg__1)
virtual KDDockWidgets::DropLocation hover_impl(KDDockWidgets::Point globalPos)
virtual void setCurrentDropLocation_nocallback(KDDockWidgets::DropLocation arg__1)
void(* Callback_onHoveredGroupChanged)(void *, KDDockWidgets::Core::Group *arg__1)
View * view() const
Returns the view associated with this controller, if any.
A MultiSplitter with support for drop indicators when hovering over.
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