Qt - change QWidget layout
Posted
by Narek
on Stack Overflow
See other posts from Stack Overflow
or by Narek
Published on 2010-06-07T14:20:43Z
Indexed on
2010/06/07
14:22 UTC
Read the original article
Hit count: 798
Let's consider we have a QWidget and a layout named general_layout that contains other widgets and layouts. general_layout is set as the QWidget layout (setLayout(general_layout)).
Now I should to change the content of QWidget. How should I do? I have tried to delete and create a new layout for QWidget and that new layout set as a layout of the QWidget, but could not complet my intentions successfully.
© Stack Overflow or respective owner