def saveSettings(self): """ Save the user settings to disc. :rtype: None """ data = self.settings() studiolibrarymaya.saveSettings(data)
def saveSettings(self): """ Save the current state of the widget to disc. :rtype: None """ data = self.settings() studiolibrarymaya.saveSettings(data)
def saveSettings(self): """ Save the current state of the widget to disc. :rtype: None """ state = self._formWidget.persistentValues() settings = studiolibrarymaya.settings() settings[self.item().__class__.__name__] = {"saveOptions": state} studiolibrarymaya.saveSettings(settings)
def saveSettings(self): """ Save the current state of the widget to disc. :rtype: None """ state = self._optionsWidget.optionsState() settings = studiolibrarymaya.settings() settings[self.item().__class__.__name__] = {"saveOptions": state} studiolibrarymaya.saveSettings(settings)
def optionsChanged(self, **options): """ Triggered when the user changes the options. :type options: dict """ settings = self.settings() settings[self.__class__.__name__] = {"options": options} self._currentOptions = options data = studiolibrarymaya.settings() studiolibrarymaya.saveSettings(data)
def optionsChanged(self, **options): """ Triggered when the user changes the options. :type options: dict """ settings = self.settings() settings[self.__class__.__name__] = {"loadOptions": options} self._currentLoadSchema = options data = studiolibrarymaya.settings() studiolibrarymaya.saveSettings(data)
def saveSettings(self): """ :rtype: None """ data = self.settings() studiolibrarymaya.saveSettings(data)