Assigned dockwidgets to vars.