mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
Fixed debug output in FloatingDockContainer.cpp
This commit is contained in:
parent
f5759716b4
commit
37cbae84ca
@ -752,7 +752,7 @@ bool CFloatingDockContainer::nativeEvent(const QByteArray &eventType, void *mess
|
|||||||
case WM_NCLBUTTONDOWN:
|
case WM_NCLBUTTONDOWN:
|
||||||
if (msg->wParam == HTCAPTION && d->isState(DraggingInactive))
|
if (msg->wParam == HTCAPTION && d->isState(DraggingInactive))
|
||||||
{
|
{
|
||||||
ADS_PRINT("CFloatingDockContainer::nativeEvent WM_NCLBUTTONDOWN" << e->type());
|
ADS_PRINT("CFloatingDockContainer::nativeEvent WM_NCLBUTTONDOWN");
|
||||||
d->DragStartPos = pos();
|
d->DragStartPos = pos();
|
||||||
d->setState(DraggingMousePressed);
|
d->setState(DraggingMousePressed);
|
||||||
}
|
}
|
||||||
@ -765,7 +765,7 @@ bool CFloatingDockContainer::nativeEvent(const QByteArray &eventType, void *mess
|
|||||||
case WM_ENTERSIZEMOVE:
|
case WM_ENTERSIZEMOVE:
|
||||||
if (d->isState(DraggingMousePressed))
|
if (d->isState(DraggingMousePressed))
|
||||||
{
|
{
|
||||||
ADS_PRINT("CFloatingDockContainer::nativeEvent WM_ENTERSIZEMOVE" << e->type());
|
ADS_PRINT("CFloatingDockContainer::nativeEvent WM_ENTERSIZEMOVE");
|
||||||
d->setState(DraggingFloatingWidget);
|
d->setState(DraggingFloatingWidget);
|
||||||
d->updateDropOverlays(QCursor::pos());
|
d->updateDropOverlays(QCursor::pos());
|
||||||
}
|
}
|
||||||
@ -774,7 +774,7 @@ bool CFloatingDockContainer::nativeEvent(const QByteArray &eventType, void *mess
|
|||||||
case WM_EXITSIZEMOVE:
|
case WM_EXITSIZEMOVE:
|
||||||
if (d->isState(DraggingFloatingWidget))
|
if (d->isState(DraggingFloatingWidget))
|
||||||
{
|
{
|
||||||
ADS_PRINT("CFloatingDockContainer::nativeEvent WM_EXITSIZEMOVE" << e->type());
|
ADS_PRINT("CFloatingDockContainer::nativeEvent WM_EXITSIZEMOVE");
|
||||||
if (GetAsyncKeyState(VK_ESCAPE) & 0x8000)
|
if (GetAsyncKeyState(VK_ESCAPE) & 0x8000)
|
||||||
{
|
{
|
||||||
d->handleEscapeKey();
|
d->handleEscapeKey();
|
||||||
|
Loading…
Reference in New Issue
Block a user