See also related question: How do you debug Qt layout problems
I\'ve got some complex widget hierarchies that I\'m trying to lay out, and I run into the usual p
I had a related follow-on question in another thread to which Dmitry came up with a great method that led to a good solution: Drawing an overlay on top of an application's window
EDIT: I've also found a useful technique hidden away in the documentation of QLayout::itemAt() which shows how to iterate through the QLayoutItems
in a layout and draw their rectangles