``` class DynATC(QQuickWidget): moveToPocketSig = Signal(int, int, arguments=['previous_pocket', 'pocket_num']) # toolInSpindleSig = Signal(int, arguments=['tool_num']) rotateFwdSig = Signal(int, arguments=['steps']) rotateRevSig = Signal(int, arguments=['steps']) showToolSig = Signal(int, int, arguments=['pocket', 'tool_num']) hideToolSig = Signal(int, arguments=['tool_num']) def __init__(self, parent=None): super(DynATC, self).__init__(parent) if IN_DESIGNER: return self.atc_position = 0 self.cw_pin = HALPin('cw', 's32', 'IN', "0") self.ccw_pin = HALPin('ccw', 's32', 'IN', "0") self.cw_pin.connect(self.rotate_fw) self.ccw_pin.connect(self.rotate_rev)