Esempio n. 1
0
	def onOpenFolder(self):
		path = self.frame.doDirDialog()
		
		if path != None:
			files = util.dir2tree(path)
			root = self.tree.addItem(None, 'root')
			self.tree.setTree(root, files)
		pass
		
Esempio n. 2
0
 def onClickTree(self):
     a = util.dir2tree('D:\\test')
     a.show()
     self.tree.setTree(self.tree.root, a, True)