I am using QVBoxLayout to have a vertical list of custom composite widgets which contain an up and down button, so to move that widget up and down within the list.

It doesn't work.

Do I have to delete and then recreate the widget in order to move it ?

I have tried using layout->remove() and layout->insert() but it doesn't appear to be working.