示例#1
0
 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
示例#2
0
 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
示例#3
0
 def __init__(self, camera, includeSubdevices=True):
     DeviceTreeItemGroup.__init__(self,
                                  device=camera,
                                  includeSubdevices=includeSubdevices)
示例#4
0
 def __init__(self, camera, includeSubdevices=True):
     DeviceTreeItemGroup.__init__(self, device=camera, includeSubdevices=includeSubdevices)