|
QtCanpool 3.3.0
|
This spacer widget is here because of the following problem. 更多...
#include <qxdock/docktitlebar_p.h>

Public 成员函数 | |
| SpacerWidget (QWidget *parent=nullptr) | |
| virtual QSize | sizeHint () const override |
| virtual QSize | minimumSizeHint () const override |
This spacer widget is here because of the following problem.
The dock title bar handles mouse dragging and moving the floating widget. The problem is, that if the title bar becomes invisible, i.e. if the dock panel contains only one single dock widget and the dock panel is moved into a floating widget, then mouse events are not handled anymore and dragging of the floating widget stops.
在文件 docktitlebar_p.h 第 50 行定义.
| QxDock::SpacerWidget::SpacerWidget | ( | QWidget * | parent = nullptr | ) |
在文件 docktitlebar.cpp 第 106 行定义.
|
inlineoverridevirtual |
在文件 docktitlebar_p.h 第 59 行定义.
|
inlineoverridevirtual |
在文件 docktitlebar_p.h 第 55 行定义.