Unsolved QTextBrowser detect image deletion
-
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?
-
@shaun2344 what about having a copy of the text before the user change(s) and doing a comparison on contentsChange signal?