[Qt-interest] Dynamic QGridLayout

Luper Rouch luper.rouch at gmail.com
Fri Feb 27 08:59:34 CET 2009


Hello,

I have a two columns set of widgets in a QGridLayout. I would like the 
layout to rearrange properly when I show or hide widgets in it. Right 
now if I hide things in it I get "holes" in the columns, here is an 
ASCII art explanation :

Before:
* *
* *

After hiding (0, 0) and (1, 1):
   *
*

But I would like to get this:
* *

How can I do that ?



More information about the Qt-interest-old mailing list