35#include <NDEVR/RibbonArea.h>
39class DropOverlayCross;
72 QWidget* m_payload =
nullptr;
104 QHash<DropArea, QWidget*> _widgets;
Definition DropOverlay.h:85
DropArea cursorLocation() const
DropOverlayCross(DropOverlay *overlay)
virtual void showEvent(QShowEvent *e)
virtual ~DropOverlayCross()
void setAreaWidgets(const QHash< DropArea, QWidget * > &widgets)
Definition DropOverlay.h:46
virtual void resizeEvent(QResizeEvent *e) override
virtual void hideEvent(QHideEvent *e) override
virtual void moveEvent(QMoveEvent *e) override
void showDropOverlay(QWidget *target, const QRect &targetAreaRect)
DropArea cursorLocation() const
DropArea showDropOverlay(QWidget *target, QWidget *payload)
virtual void paintEvent(QPaintEvent *e) override
DropOverlay(QWidget *parent)
virtual void showEvent(QShowEvent *e) override
void setAreaWidgets(const QHash< DropArea, QWidget * > &widgets)
DropArea
relates where a widget should be dropped relative to another.
Definition RibbonArea.h:46