#include <FloatingDockContainer.h>
Public Member Functions | |
virtual void | finishDragging ()=0 |
virtual void | moveFloating ()=0 |
virtual void | startFloating (const QPoint &DragStartMousePos, const QSize &Size, eDragState DragState, QWidget *MouseEventHandler)=0 |
virtual | ~IFloatingWidget ()=default |
Pure virtual interface for floating widgets. This interface is used for opaque and non-opaque undocking. If opaque undocking is used, the a real CFloatingDockContainer widget will be created
Definition at line 68 of file FloatingDockContainer.h.
|
virtualdefault |
|
pure virtual |
Tells the widget that to finish dragging if the mouse is released. This function should be called from a mouse release event handler to finish the dragging
Implemented in ads::CFloatingDockContainer, and ads::CFloatingDragPreview.
|
pure virtual |
Moves the widget to a new position relative to the position given when startFloating() was called. This function should be called from a mouse mouve event handler to move the floating widget on mouse move events.
Implemented in ads::CFloatingDockContainer, and ads::CFloatingDragPreview.
|
pure virtual |
Starts floating. This function should get called typically from a mouse press event handler
Implemented in ads::CFloatingDockContainer, and ads::CFloatingDragPreview.