code: def userSettings(self):
          
          if not self._userSettings:
              name = self.applicationName()
              if not self.isCompiled():
                  name + '.dev'
              
              self._userSettings = XSettings(XSettings.YamlFormat,
                                             XSettings.UserScope,
                                             self.organizationName(),
                                             name)
  
          return self._userSettings
docs: Returns the settings associated with this application per user.
          
          :return     <QtCore.QSettings>