Esempio n. 1
0
 def namespaces(self):
     """
     :rtype: list[str]
     """
     namespaces = str(self.ui.namespaceEdit.text())
     namespaces = studiolibrary.stringToList(namespaces)
     return namespaces
Esempio n. 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
Esempio n. 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()
Esempio n. 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
Esempio n. 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
Esempio n. 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()
Esempio n. 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()))