parameters: (self)
docstring: Save the preferences to disk
docstring_summary: Save the preferences to disk
docstring_tokens: Save the preferences to disk
function: def save(self):
          """
          Save the preferences to disk
          """
          settings = QtCore.QSettings()
          for w in self._widgets:
              w.save(settings)
          settings.sync()
          self.close()
function_tokens: def save ( self ) : settings = QtCore . QSettings ( ) for w in self . _widgets : w . save ( settings ) settings . sync ( ) self . close ( )