Orphelic
23rd August 2007, 13:48
Hello,
I try to program a QGraphicsTextItem, that acts like an editor. Therefore I need a permanent blinking text cursor. For making the QGraphicsTextItem to act like an editor, I use:
m_textItem->setTextInteractionFlags(Qt::TextEditorInteraction)
Here's the problem:
if this text item is active, there is always a dashed box around it. How can I prevent this box from being shown?
Thanks a lot
I try to program a QGraphicsTextItem, that acts like an editor. Therefore I need a permanent blinking text cursor. For making the QGraphicsTextItem to act like an editor, I use:
m_textItem->setTextInteractionFlags(Qt::TextEditorInteraction)
Here's the problem:
if this text item is active, there is always a dashed box around it. How can I prevent this box from being shown?
Thanks a lot