コード例 #1
0
 def namespaces(self):
     """
     :rtype: list[str]
     """
     namespaces = str(self.ui.namespaceEdit.text())
     namespaces = studiolibrary.stringToList(namespaces)
     return namespaces
コード例 #2
0
ファイル: transferitem.py プロジェクト: jubeyjose/maya-prefs
 def namespaces(self):
     """
     :rtype: list[str]
     """
     namespaces = str(self.ui.namespaceComboBox.currentText())
     namespaces = studiolibrary.stringToList(namespaces)
     return namespaces
コード例 #3
0
 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()
コード例 #5
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()
コード例 #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
ファイル: mayabaseplugin.py プロジェクト: Italic-/maya-prefs
    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()))
コード例 #10
0
 def namespaces(self):
     """
     @rtype:
     """
     return studiolibrary.stringToList(str(self.ui.namespaceEdit.text()))