Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTextBrowser detect image deletion
shaun2344 last edited by
I am inserting an image using html into a QTextBrowser and would like to detect the user deleting the image. I can detect text being deleted using the contentsChange signal.
How would I do something similar to get the html changes so I can track which image has been deleted?
Pablo J. Rogina last edited by
@shaun2344 what about having a copy of the text before the user change(s) and doing a comparison on contentsChange signal?