KDDockWidgets API Documentation 1.7
Loading...
Searching...
No Matches
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

namespace  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 984 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-2023 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 Wed Nov 1 2023 00:02:31 for KDDockWidgets API Documentation by doxygen 1.9.8