PDA

View Full Version : How to trace removal of image from QTextEdit?



NortT
23rd July 2011, 16:48
How can I trace removal of image from QTextEdit and get then path to this image?
I paste image with

QString subtext = QString("<img src=\"%1\" />").arg(fileimg);
QTextDocumentFragment fragment = QTextDocumentFragment::fromHtml(subtext);
textEdit->textCursor().insertFragment(fragment);

P.S. Sorry for my English :)