[PyQt] Stacking QWidgets vertically?

Christian Caron ccaron at fattoc.com
Mon Sep 21 04:49:04 BST 2009

What was missing from the QSplitter to achieve what you are looking for?

On Sep 20, 2009, at 8:45 PM, Kurt Schwarz wrote:

> On Sun, Sep 20, 2009 at 11:38 PM, Christian Caron  
> <ccaron at fattoc.com> wrote:
>> Maybe a QSplitter?
>> On Sep 20, 2009, at 8:33 PM, Kurt Schwarz wrote:
>>> What would be the best way to do something like this:
>>> http://img15.imageshack.us/img15/5707/badpaintskills.png Where all  
>>> the
>>> teal boxes are the same width but their height varies and they go  
>>> from
>>> the bottom up. I have tried using a QVBoxLayout but it just spaced
>>> each of them out evenly.
>>> Is there anyway to do this using QLayout, or will I have to just use
>>> x, y cords for each of the QWidgets?
>>> _______________________________________________
>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> Humm I tried using a QSplitter and it didn't do quite what I was
> looking for. I just noticed the FlowLayout example that comes with
> PyQt and I'm going to try and create something similar to that.

More information about the PyQt mailing list