예제 #1
0
 def __init__(self, title, nodes, thead, view):
     ReportPageFragment.__init__(self, title)
     self.nodes = nodes
     self.thead = thead
     self.view = view
     self.extract = Extract()
     self.filepath = None
     self.thumbpath = None
     if QApplication.instance():
         self.gui = True
     else:
         self.gui = False
예제 #2
0
 def __init__(self):
     Script.__init__(self, "extract")
     EventHandler.__init__(self)
     self.vfs = vfs.vfs()
     self.extractor = Extract()
     self.extractor.connection(self)