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
def __init__(self, selected_resolution, recommended_resolution): Worker.__init__(self, "Resolution finder") self.__selected_resolution = selected_resolution self.__recommended_resolution = recommended_resolution
def __init__(self, target_viewport): Worker.__init__(self, "Calibration scan") self.target_viewport = target_viewport
def __init__(self, selected_devid): Worker.__init__(self, "Device finder") self.__selected_devid = selected_devid