Esempio n. 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
Esempio n. 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
Esempio n. 3
0
 def __init__(self, camera, includeSubdevices=True):
     DeviceTreeItemGroup.__init__(self,
                                  device=camera,
                                  includeSubdevices=includeSubdevices)
Esempio n. 4
0
 def __init__(self, camera, includeSubdevices=True):
     DeviceTreeItemGroup.__init__(self, device=camera, includeSubdevices=includeSubdevices)