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