PDA

View Full Version : About GraphicsTextItem



cslijy
1st December 2007, 14:08
How can I make the dotted line disappeared in GraphicsTextItem?

wysota
1st December 2007, 14:12
That's probably the ItemIsSelectable or ItemIsFocusable flag. If you turn the flag off, the frame should disappear.

cslijy
2nd December 2007, 02:47
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!

jpn
2nd December 2007, 07:20
http://www.qtcentre.org/forum/f-qt-programming-2/t-editable-text-in-qgraphicsview-5785.html