[PyQt] Removing a Layout

Samuel GARCIA sgarcia at olfac.univ-lyon1.fr
Wed Sep 24 10:15:55 BST 2008


Hi list,
I have a problem with PyQT.
I am a little lost with something I don't understand.

I try to remove a QVBoxLayout containing other widget.
I have a list of theses QVBoxLayout contained in a scrollArea.

When I want to delete one, all dessapear !

The short code is easier to understand my problem.

If someone could look at it and give THE advice, I could save precious time.

Tanhks a lot

Samuel





-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Samuel Garcia
Laboratoire de Neurosciences Sensorielles, Comportement, Cognition.
CNRS - UMR5020 - Universite Claude Bernard LYON 1
Equipe logistique et technique
50, avenue Tony Garnier
69366 LYON Cedex 07
FRANCE
Tél : 04 37 28 74 64
Fax : 04 37 28 76 01
http://olfac.univ-lyon1.fr/unite/equipe-07/
http://neuralensemble.org/trac/OpenElectrophy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_remove_layout.py
Type: text/x-python
Size: 1036 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080924/1d301385/test_remove_layout.py


More information about the PyQt mailing list