3 class GraphicsRectItem( QGraphicsRectItem ) :
5 def __init__( self, x, y, w, h, index ) :
6 QGraphicsRectItem.__init__( self, x, y, w, h )
8 self.setFlag( self.ItemIsMovable, True )
9 self.setFlag( self.ItemIsSelectable, True )
12 def getIndex( self ) :