KDDockWidgets API Documentation  1.5
Namespaces | Functions
DragController.cpp File Reference
#include "DragController_p.h"
#include "DockRegistry_p.h"
#include "DockWidgetBase_p.h"
#include "DropArea_p.h"
#include "FloatingWindow_p.h"
#include "Frame_p.h"
#include "Logging_p.h"
#include "Qt5Qt6Compat_p.h"
#include "Utils_p.h"
#include "WidgetResizeHandler_p.h"
#include "Config.h"
#include "MDILayoutWidget_p.h"
#include "WindowZOrder_x11_p.h"
#include <QMouseEvent>
#include <QGuiApplication>
#include <QCursor>
#include <QWindow>
#include <QDrag>
#include <QScopedValueRollback>
Include dependency graph for DragController.cpp:

Go to the source code of this file.

Namespaces

 KDDockWidgets
 

Functions

static DropArea * deepestDropAreaInTopLevel (WidgetType *topLevel, QPoint globalPos, const QStringList &affinities)
 
template<typename T >
static WidgetTypeqtTopLevelUnderCursor_impl (QPoint globalPos, const QVector< QWindow * > &windows, T windowBeingDragged)
 

Function Documentation

◆ deepestDropAreaInTopLevel()

static DropArea* deepestDropAreaInTopLevel ( WidgetType topLevel,
QPoint  globalPos,
const QStringList affinities 
)
static

Definition at line 914 of file DragController.cpp.

References QWidget::childAt(), and QWidget::mapFromGlobal().

◆ qtTopLevelUnderCursor_impl()

template<typename T >
static WidgetType* qtTopLevelUnderCursor_impl ( QPoint  globalPos,
const QVector< QWindow * > &  windows,
windowBeingDragged 
)
static

© 2019-2022 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 on Mon Mar 7 2022 02:01:21 for KDDockWidgets API Documentation by doxygen 1.8.20