diff options
author | Axel Spoerl <axel.spoerl@qt.io> | 2023-06-19 09:57:17 +0200 |
---|---|---|
committer | Axel Spoerl <axel.spoerl@qt.io> | 2023-06-20 07:55:53 +0200 |
commit | faec937756810bbc478da677efb0dca4531a6222 (patch) | |
tree | 9ec5ba32f733ec82484c6ca2a742d900b94b8744 /src/widgets/widgets/qdockarealayout_p.h | |
parent | 96e1381a0a61a5b26f7147516f107765dbfc083e (diff) |
Implement debug operator for QDockAreaLayoutItem
QDockAreaLayout items can be widgets, gap or placeholder items.
They appear and disappear during hovering.
This adds a debug operator to make troubleshooting easier.
Task-number: QTBUG-114542
Task-number: QTBUG-112491
Pick-to: 6.6 6.5
Change-Id: I0fa5d3c96ab91838f28ad7cec3c049fd39f47576
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/widgets/qdockarealayout_p.h')
-rw-r--r-- | src/widgets/widgets/qdockarealayout_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qdockarealayout_p.h b/src/widgets/widgets/qdockarealayout_p.h index cf998cf665..b37f22a1ee 100644 --- a/src/widgets/widgets/qdockarealayout_p.h +++ b/src/widgets/widgets/qdockarealayout_p.h @@ -73,6 +73,7 @@ struct Q_AUTOTEST_EXPORT QDockAreaLayoutItem int pos; int size; uint flags; + QDebug operator<<(QDebug dbg); }; class Q_AUTOTEST_EXPORT QPlaceHolderItem |