def _load_settings(self):
if self._autosettings_path == None: return<EOL>gui_settings_dir = _os.path.join(_cwd, '<STR_LIT>')<EOL>path = _os.path.join(gui_settings_dir, self._autosettings_path)<EOL>if not _os.path.exists(path): return<EOL>settings = _g.QtCore.QSettings(path, _g.QtCore.QSettings.IniFormat)<EOL>if settings.contains('<STR_LIT>') and hasattr_safe(self._window, "<STR_LIT>"):    <EOL><INDENT>x = settings.value('<STR_LIT>')<EOL>if hasattr(x, "<STR_LIT>"): x = x.toByteArray()            <EOL>self._window.restoreState(x)<EOL><DEDENT>if settings.contains('<STR_LIT>'): <EOL><INDENT>x = settings.value('<STR_LIT>')<EOL>if hasattr(x, "<STR_LIT>"): x = x.toByteArray()<EOL>self._window.restoreGeometry(x)<EOL><DEDENT>
Loads all the parameters from a databox text file. If path=None,
loads from self._autosettings_path.