Public Member Functions | List of all members
ads::IFloatingWidget Class Referenceabstract

#include <FloatingDockContainer.h>

Inheritance diagram for ads::IFloatingWidget:
Inheritance graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~IFloatingWidget()

virtual ads::IFloatingWidget::~IFloatingWidget ( )
virtualdefault

Member Function Documentation

◆ finishDragging()

virtual void ads::IFloatingWidget::finishDragging ( )
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.

◆ moveFloating()

virtual void ads::IFloatingWidget::moveFloating ( )
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.

◆ startFloating()

virtual void ads::IFloatingWidget::startFloating ( const QPoint &  DragStartMousePos,
const QSize &  Size,
eDragState  DragState,
QWidget *  MouseEventHandler 
)
pure virtual

Starts floating. This function should get called typically from a mouse press event handler

Implemented in ads::CFloatingDockContainer, and ads::CFloatingDragPreview.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51