|
QtCanpool 3.3.0
|
Pure virtual interface for floating widgets. 更多...
#include <qxdock/dockfloatingwidget.h>

Public 成员函数 | |
| virtual | ~DockFloatingWidget ()=default |
| virtual void | startFloating (const QPoint &dragStartMousePos, const QSize &size, Qx::DockDragState dragState, QWidget *mouseEventHandler)=0 |
| Starts floating. | |
| virtual void | moveFloating ()=0 |
| Moves the widget to a new position relative to the position given when startFloating() was called. | |
| virtual void | finishDragging ()=0 |
| Tells the widget that to finish dragging if the mouse is released. | |
Pure virtual interface for floating widgets.
This interface is used for opaque and non-opaque undocking. If opaque undocking is used, the a real DockFloatingContainer widget will be created
在文件 dockfloatingwidget.h 第 17 行定义.
|
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
在 QxDock::DockFloatingContainer , 以及 QxDock::DockFloatingPreview 内被实现.
|
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 move event handler to move the floating widget on mouse move events.
在 QxDock::DockFloatingContainer , 以及 QxDock::DockFloatingPreview 内被实现.
|
pure virtual |
Starts floating.
This function should get called typically from a mouse press event handler
在 QxDock::DockFloatingContainer , 以及 QxDock::DockFloatingPreview 内被实现.