PDA

View Full Version : QGridLayout debug mode



Micawber
11th September 2007, 12:46
Greetings!

Just a quick question/suggestion. Is there any way to get the QGridLayout to paint a box around all of the cells like are in some of the examples/tutorials?

wysota
13th September 2007, 08:48
Not directly. A grid layout is not a widget thus it doesn't do any painting. You can apply an event filter on the parent widget and draw the boxes yourself after querying the widget for its children.