In case you are not aware of it, you could just override the paint method of the graphicsItem and check for isSelected and then handle how the selection box should be painted. At least this is the way I do selection boxes.