I create an editable QLabel like this:
QLabel foo("some text"); foo.setTextInteractionFlags(Qt::TextEditorInteraction);
I can click the text and change it, and the changed text should be somewhere in the buffer, but even after examining the data fields in Qt Creator, I donβt see where it is:
QString notmodified = foo.text();
Is this a modified text somewhere that I can access?
EDIT: I think using something else is really easier, but I'm still interested in knowing the answer to my question.
EDIT: OK, that was a week. "Answered".
source share