|
QtCanpool 3.3.0
|
A floating overlay is a temporary floating widget that is just used to indicate the floating widget movement. 更多...
#include <qxdock/dockfloatingpreview.h>

Public 成员函数 | |
| DockFloatingPreview (DockPanel *content) | |
| DockFloatingPreview (DockWidget *content) | |
| virtual | ~DockFloatingPreview () |
| virtual void | startFloating (const QPoint &dragStartMousePos, const QSize &size, Qx::DockDragState dragState, QWidget *mouseEventHandler) override |
| Starts floating. | |
| virtual void | finishDragging () override |
| Tells the widget that to finish dragging if the mouse is released. | |
| void | moveFloating () override |
| Moves the widget to a new position relative to the position given when startFloating() was called. | |
| void | cleanupAutoHideContainerWidget (Qx::DockWidgetArea containerDropArea) |
| void | draggingCanceled () |
| void | onApplicationStateChanged (Qt::ApplicationState state) |
| Cancel non opaque undocking if application becomes inactive | |
Public 成员函数 继承自 QxDock::DockFloatingWidget | |
| virtual | ~DockFloatingWidget ()=default |
Protected 成员函数 | |
| DockFloatingPreview (QWidget *content, QWidget *parent) | |
| The content is a DockPanel or a DockWidget | |
| virtual bool | eventFilter (QObject *watched, QEvent *event) override |
| virtual void | paintEvent (QPaintEvent *e) override |
A floating overlay is a temporary floating widget that is just used to indicate the floating widget movement.
This widget is used as a placeholder for drag operations for non-opaque docking
在文件 dockfloatingpreview.h 第 23 行定义.
|
explicit |
在文件 dockfloatingpreview.cpp 第 222 行定义.
|
explicit |
在文件 dockfloatingpreview.cpp 第 231 行定义.
|
virtual |
在文件 dockfloatingpreview.cpp 第 285 行定义.
|
protected |
The content is a DockPanel or a DockWidget
在文件 dockfloatingpreview.cpp 第 245 行定义.
| void QxDock::DockFloatingPreview::cleanupAutoHideContainerWidget | ( | Qx::DockWidgetArea | containerDropArea | ) |
在文件 dockfloatingpreview.cpp 第 350 行定义.
| void QxDock::DockFloatingPreview::draggingCanceled | ( | ) |
|
overrideprotectedvirtual |
在文件 dockfloatingpreview.cpp 第 385 行定义.
|
overridevirtual |
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::DockFloatingWidget.
在文件 dockfloatingpreview.cpp 第 302 行定义.
|
overridevirtual |
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::DockFloatingWidget.
在文件 dockfloatingpreview.cpp 第 341 行定义.
| void QxDock::DockFloatingPreview::onApplicationStateChanged | ( | Qt::ApplicationState | state | ) |
Cancel non opaque undocking if application becomes inactive
在文件 dockfloatingpreview.cpp 第 375 行定义.
|
overrideprotectedvirtual |
在文件 dockfloatingpreview.cpp 第 400 行定义.
|
overridevirtual |
Starts floating.
This function should get called typically from a mouse press event handler
实现了 QxDock::DockFloatingWidget.
在文件 dockfloatingpreview.cpp 第 290 行定义.