Hmm I was confused by this for a while, but it looks like the parent object needs to have the flags:

setFlag(QGraphicsItem::ItemIsMovable, true);
setFlag(QGraphicsItem::ItemIsSelectable, true);

in order for the text interaction to work right.