On 09.02.2016 19:03, Igor Mironchik wrote:
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?
Got it, my scene eat key press events... :) Thank you and sorry for the
flood.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest