def makeGroup(self, dev, subdev): grp = DeviceTreeItemGroup.makeGroup(self, dev, subdev) if dev is self.device: bound = QtGui.QGraphicsPathItem(self.device.getBoundary(globalCoords=False)) bound.setParentItem(grp) bound.setPen(pg.mkPen(40, 150, 150)) return grp
def __init__(self, camera, includeSubdevices=True): DeviceTreeItemGroup.__init__(self, device=camera, includeSubdevices=includeSubdevices)