def __init__(self, natural_law=None): ClickableGraphicsWidget.__init__(self) self.initialize(":/images/natural_law.png") self.natural_law = natural_law self.setCursor(Qt.OpenHandCursor) self.setAcceptDrops(True)
def __init__(self, matter=None): ClickableGraphicsWidget.__init__(self) self.initialize(":/images/matter.png") self.matter = matter self.setAcceptDrops(True)
def __init__(self, sensor=None): ClickableGraphicsWidget.__init__(self) self.initialize(":/images/sensor.png") self.sensor = sensor self.setCursor(Qt.OpenHandCursor) self.setAcceptDrops(True)
def __init__(self, agent=None): ClickableGraphicsWidget.__init__(self) self.initialize(":/images/agent.png") self.agent = agent self.setCursor(Qt.OpenHandCursor) self.setAcceptDrops(True)
def __init__(self, force=None): ClickableGraphicsWidget.__init__(self) self.initialize(":/images/force.png") self.force = force self.setCursor(Qt.OpenHandCursor) self.setAcceptDrops(True)