okie

the user is the one that does edit the text of this qgraphicstextitem... i am not inserting any programmatically like in the richtext object example


if i try to insert the following as i am initializing my own implementation of qgraphicstextitem


Qt Code:
  1. QPen outlinePen = QPen (QColor(255, 0, 0), 1, Qt::SolidLine);
  2.  
  3. format.setTextOutline ( outlinePen );
  4.  
  5. QTextCursor cursor;
  6. cursor.setCharFormat ( format );
  7. setTextCursor(cursor);
To copy to clipboard, switch view to plain text mode 

i got a cursor but i cannot edit (enter any text anymore) that is where i am stuck. If i remove those lines i can edit normally (but without outlined text!)