Added enum for making QGraphicsItem type assignments.