I have a Qt gui application that uses dock widgets and similar items, which user can adjust themselves.
I want the layout to stay on application restart. The application already has some functions to save and load user configuration, but I have no idea how would I store a layout (positions of docks, their size etc), neither how would I restore them.
Is there any easy way of doing this? Or do I have to check the size, position and location of every single element and store it separately?