On 09.02.2016 18:26, Igor Mironchik wrote:
Hi,

I create QGraphicsTextItem and setTextInteractionFlags( Qt::TextEditorInteraction ), but text is not editable, I don't see cursor, etc...

How to start editing in QGraphicsTextItem?

I got one point - setTextInteractionFlags( Qt::TextEditorInteraction ) should be invoked after constructing of QGraphicsTextItem. Now Item has flashing cursor, but no text input focus, i.e. keys do nothing.

setFocus() doesn't help...

What can be the problem?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to