Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGraphicsTextItem edited text
Boman last edited by Boman
I use qgraphicstextitem to set some text on the qgrpahicsscene. I used setPlainText() to add some default text , then I set isMovabale, isEditable and isSelectable flags. With mouse press I add the item(with default text) to scene and I can edit its text, move it etc. After editing the item I want to get its final text but how can I get it? Where is it stored?
Are you thinking of something like toPlainText ?