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
format.setTextOutline ( outlinePen );
cursor.setCharFormat ( format );
setTextCursor(cursor);
QPen outlinePen = QPen (QColor(255, 0, 0), 1, Qt::SolidLine);
QTextCharFormat format;
format.setTextOutline ( outlinePen );
QTextCursor cursor;
cursor.setCharFormat ( format );
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!)
Bookmarks