Then give object names to your widgets and use it to store their settings. Then use findChild when loading them