That's probably the ItemIsSelectable or ItemIsFocusable flag. If you turn the flag off, the frame should disappear.
I'm Sorry I didn't explain myself clearly. I want the frame disappeared while editing. The dotted frame disappears after I turn these flags off, but the QGraphicsTextItem can't accept key events. Would you please give me further suggestion? Thank you!
Bookmarks