Move Widget in sub-layout to another sub-layout.
I need to move one widget in a sub-layout to another sub-layout. Someone could help me?
Hi and welcome to devnet,
You can call "removeWidget":http://doc.qt.io/qt-5/qlayout.html#removeWidget on the first layout and then addWidget on the second.
Hope it helps
Thank you for answer. But didn't work, I've created too many sub-layouts. I would have to remove all layouts and then add all over again with the modifications. I will try another way.
How many of them do you have ?