def __init__(self, first, last, node, gui): QtCore.QThread.__init__(self) self.first = first self.last = last self.node = node self.gui = gui