From 1c261515dbc616c4fe6cf151f2fe8cd86a99ce96 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 21 Sep 2020 09:39:42 +0200 Subject: [PATCH] Improved debug output in DockContainerWidget --- src/DockContainerWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockContainerWidget.cpp b/src/DockContainerWidget.cpp index a10495e..e045a31 100644 --- a/src/DockContainerWidget.cpp +++ b/src/DockContainerWidget.cpp @@ -1207,7 +1207,7 @@ void DockContainerWidgetPrivate::dumpRecursive(int level, QWidget* widget) std::cout << (const char*)buf << (DockArea->isHidden() ? " " : "v") << (DockArea->openDockWidgetsCount() > 0 ? " " : "c") - << " DockArea" << std::endl; + << " DockArea " << "[hs: " << DockArea->sizePolicy().horizontalStretch() << ", vs: " << DockArea->sizePolicy().verticalStretch() << "]" << std::endl; buf.fill(' ', (level + 1) * 4); for (int i = 0; i < DockArea->dockWidgetsCount(); ++i) {