code: def _load_settings(self):
          
          if self._autosettings_path == None: return
          
          # Get the gui settings directory
          gui_settings_dir = _os.path.join(_cwd, 'egg_settings')
  
          # make a path with a sub-directory
          path = _os.path.join(gui_settings_dir, self._autosettings_path)
          
          # make sure the directory exists
          if not _os.path.exists(path): return
          
          # Create a Qt settings object
          settings = _g.QtCore.QSettings(path, _g.QtCore.QSettings.IniFormat)
          
          # Load it up! (Extra steps required for windows command line execution)
          if settings.contains('State') and hasattr_safe(self._window, "restoreState"):    
              x = settings.value('State')
              if hasattr(x, "toByteArray"): x = x.toByteArray()            
              self._window.restoreState(x)
          
          if settings.contains('Geometry'): 
              x = settings.value('Geometry')
              if hasattr(x, "toByteArray"): x = x.toByteArray()
              self._window.restoreGeometry(x)
docs: Loads all the parameters from a databox text file. If path=None,
          loads from self._autosettings_path.