QVBoxLayout and QHBoxLayout problem
Hi i a have QVBoxLayout with many QHBoxLayouts
and sometimes i have a QVBoxLayout with 3 QHBoxLayouts and then i want
the same QVBoxLayout to have 2 QHBoxLayouts and want the previous 3 QHBoxLayout s to disappear
The problem is they are not and the widgets inserted int the QHBoxLayouts get one uppon the other (overdraw them self) kindof....
if u could give an ideea how to do this , i tried deleting the QvBoxLayout pointer but it is not working
Thanks
Re: QVBoxLayout and QHBoxLayout problem
HI,
You can create two QVBox Layouts and u can use as u need either with 3 QHBox or with 2 QHBox..
Re: QVBoxLayout and QHBoxLayout problem
Maybe it is easier to use QGridLayout, which also can handle widgets covering several rows/columns?