forked from qt-creator/qt-creator
ADS: Fix repeatedly dropping in same area crash
6c687d28def5c24f3eeb67c9e13d5cfab40cebd0 1c2383f8eb94bc8570e554efa5f842a8ab1461ea Task-number: QDS-1751 Change-Id: I933b1f53da8ce423cd5d38ff2863f58606006596 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
206e7d3e70
commit
0b7970feb4
@@ -104,9 +104,13 @@ protected:
|
||||
void dropFloatingWidget(FloatingDockContainer *floatingWidget, const QPoint &targetPos);
|
||||
|
||||
/**
|
||||
* Drop a dock area or a dock widget given in widget parameter
|
||||
* Drop a dock area or a dock widget given in widget parameter.
|
||||
* If the TargetAreaWidget is a nullptr, then the DropArea indicates
|
||||
* the drop area for the container. If the given TargetAreaWidget is not
|
||||
* a nullptr, then the DropArea indicates the drop area in the given
|
||||
* TargetAreaWidget
|
||||
*/
|
||||
void dropWidget(QWidget *widget, const QPoint &targetPos);
|
||||
void dropWidget(QWidget *widget, DockWidgetArea dropArea, DockAreaWidget *targetAreaWidget);
|
||||
|
||||
/**
|
||||
* Adds the given dock area to this container widget
|
||||
|
||||
Reference in New Issue
Block a user