Example #1
0
 def __init__(self, config, nb_pages, line_in_treeview, doc=None):
     Worker.__init__(self, "Document scanner (doc %d)" % (line_in_treeview))
     self.__config = config
     self.doc = doc
     self.nb_pages = nb_pages
     self.line_in_treeview = line_in_treeview
     self.current_page = None
Example #2
0
 def __init__(self, selected_resolution,
              recommended_resolution):
     Worker.__init__(self, "Resolution finder")
     self.__selected_resolution = selected_resolution
     self.__recommended_resolution = recommended_resolution
Example #3
0
 def __init__(self, target_viewport):
     Worker.__init__(self, "Calibration scan")
     self.target_viewport = target_viewport
Example #4
0
 def __init__(self, selected_devid):
     Worker.__init__(self, "Device finder")
     self.__selected_devid = selected_devid