Пример #1
0
 def namespaces(self):
     """
     :rtype: list[str]
     """
     namespaces = str(self.ui.namespaceEdit.text())
     namespaces = studiolibrary.stringToList(namespaces)
     return namespaces
Пример #2
0
 def namespaces(self):
     """
     :rtype: list[str]
     """
     namespaces = str(self.ui.namespaceComboBox.currentText())
     namespaces = studiolibrary.stringToList(namespaces)
     return namespaces
 def namespaces(self):
     """
     :rtype: list[str]
     """
     namespaces = str(self.ui.namespaceEdit.text())
     namespaces = studiolibrary.stringToList(namespaces)
     return namespaces
Пример #4
0
 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 setNamespaces(self, namespaces):
     """
     @type namespaces: list[str]
     """
     if isinstance(namespaces, basestring):
         namespaces = studiolibrary.stringToList(namespaces)
     self.settings().set("namespaces", namespaces)
     self.settings().save()
Пример #6
0
    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
Пример #7
0
    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
Пример #8
0
    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()
Пример #9
0
 def namespaces(self):
     """
     @rtype:
     """
     return studiolibrary.stringToList(str(self.ui.namespaceEdit.text()))
 def namespaces(self):
     """
     @rtype:
     """
     return studiolibrary.stringToList(str(self.ui.namespaceEdit.text()))