[Interest] QGraphicsTextItem & editing

Igor Mironchik igor.mironchik at gmail.com
Tue Feb 9 18:00:59 CET 2016



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...

My mistake... setTextInteractionFlags( Qt::TextEditorInteraction ) can 
be invoked in c_tor... :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160209/b4a3592a/attachment.html>


More information about the Interest mailing list