def namespaces(self): """ :rtype: list[str] """ namespaces = str(self.ui.namespaceEdit.text()) namespaces = studiolibrary.stringToList(namespaces) return namespaces
def namespaces(self): """ :rtype: list[str] """ namespaces = str(self.ui.namespaceComboBox.currentText()) namespaces = studiolibrary.stringToList(namespaces) return namespaces
def setNamespaces(self, namespaces): """ @type namespaces: list[str] """ if isinstance(namespaces, basestring): namespaces = studiolibrary.stringToList(namespaces) self.settings().set("namespaces", namespaces) self.settings().save()
def namespaces(self): """ Return the namespace names from the namespace edit widget. :rtype: list[str] """ namespaces = str(self.ui.namespaceComboBox.currentText()) namespaces = studiolibrary.stringToList(namespaces) return namespaces
def setCustomNamespaces(self, namespaces): """ :type namespaces: str | list[str] """ if isinstance(namespaces, basestring): namespaces = studiolibrary.stringToList(namespaces) logger.debug("Setting namespace %s" % namespaces) self.settings().set("customNamespaces", namespaces) self.settings().save()
def namespaces(self): """ @rtype: """ return studiolibrary.stringToList(str(self.ui.namespaceEdit.text()))