예제 #1
0
 def __init__(self, name, directory, parent=None):
     self.title = name
     self.directory = directory
     self.identifier = unicode(hash(self.title))
     TreeNodeBase.__init__(self, self.identifier, parent)
예제 #2
0
 def __init__(self, name, path, parent=None):
     self.title = name
     self.__path = path
     TreeNodeBase.__init__(self, name, parent)
예제 #3
0
 def __init__(self, name, nodeType, data = None, parent = None):
     TreeNodeBase.__init__(self, name, parent)
     self.data = data
     self.nodeType = nodeType
예제 #4
0
 def __init__(self, bundleItem, nodeParent = None):
     TreeNodeBase.__init__(self, bundleItem.name, nodeParent)
     self.__bundleItem = bundleItem
예제 #5
0
 def __init__(self, name, directory, parent=None):
     self.title = name
     self.directory = directory
     self.identifier = unicode(hash(self.title))
     TreeNodeBase.__init__(self, self.identifier, parent)
예제 #6
0
 def __init__(self, bundleItem, nodeParent=None):
     TreeNodeBase.__init__(self, bundleItem.name, nodeParent)
     self.__bundleItem = bundleItem
예제 #7
0
 def __init__(self, name, parent = None):
     TreeNodeBase.__init__(self, name, parent)
     self.setTitle(self.TITLE)
     self.setIcon(self.ICON)
예제 #8
0
 def __init__(self, sequence, parent = None):
     TreeNodeBase.__init__(self, sequence.name(), parent)
     self.sequence = sequence
     self.qobjects = []
예제 #9
0
 def __init__(self, name, parent = None):
     TreeNodeBase.__init__(self, name, parent)
     self.isdir = os.path.isdir(self.path())
     self.isfile = os.path.isfile(self.path())
     self.ishidden = name.startswith('.')
     self.isproject = isinstance(self, ProjectTreeNode)
예제 #10
0
파일: shortcuts.py 프로젝트: D3f0/prymatex
 def __init__(self, name, parent = None):
     TreeNodeBase.__init__(self, name, parent)
예제 #11
0
 def __init__(self, lineNumber, lineContent, parent=None):
     self.title = "%s - %s" % (lineNumber, lineContent.strip())
     self.lineNumber = lineNumber
     self.identifier = unicode(hash(self.title))
     TreeNodeBase.__init__(self, self.identifier, parent)
예제 #12
0
 def __init__(self, name, parent=None):
     self.title = name
     TreeNodeBase.__init__(self, name, parent)
예제 #13
0
 def __init__(self, name, path, parent=None):
     self.title = name
     self.__path = path
     TreeNodeBase.__init__(self, name, parent)
예제 #14
0
 def __init__(self, name, parent=None):
     self.title = name
     TreeNodeBase.__init__(self, name, parent)
예제 #15
0
 def __init__(self, name, parent=None):
     TreeNodeBase.__init__(self, name, parent)
     self.setTitle(self.TITLE)
     self.setIcon(self.ICON)
예제 #16
0
 def __init__(self, lineNumber, lineContent, parent=None):
     self.title = "%s - %s" % (lineNumber, lineContent.strip())
     self.lineNumber = lineNumber
     self.identifier = unicode(hash(self.title))
     TreeNodeBase.__init__(self, self.identifier, parent)
예제 #17
0
 def __init__(self, name, nodeType, data=None, parent=None):
     TreeNodeBase.__init__(self, name, parent)
     self.data = data
     self.nodeType = nodeType
예제 #18
0
 def __init__(self, name, parent = None):
     TreeNodeBase.__init__(self, name, parent)
     self.sequence = QtGui.QKeySequence()
예제 #19
0
 def __init__(self, name, parent=None):
     TreeNodeBase.__init__(self, name, parent)
     self.isdir = os.path.isdir(self.path())
     self.isfile = os.path.isfile(self.path())
     self.ishidden = name.startswith('.')
     self.isproject = isinstance(self, ProjectTreeNode)