def __init__(self, parent, callback):
    super(JogWidget, self).__init__(parent)
    self.parent = parent
    self.callback = callback
    self.wx_current = 0
    self.wy_current = 0
    self.wz_current = 0
    self._x_start_screen = 0
    self._y_start_screen = 0
    self._z_accumulator = 0
def __init__(self, parent, callback):
    super(JogWidget, self).__init__(parent)
    self.parent = parent
    self.callback = callback
    self.wx_current = 0
    self.wy_current = 0
    self.wz_current = 0
    self._x_start_screen = 0
    self._y_start_screen = 0
    self._z_accumulator = 0