[Interest] Custom text objects

Samuel Gaist samuel.gaist at edeltech.ch
Thu Jan 5 12:59:45 CET 2012


On 5 janv. 2012, at 12:56, Graham Labdon wrote:

> Hi
> I have implemented the insertion of custom objects into  a QTextEdit by following the ‘insert SVG image’ example.
>  
> I now want to detect when such an object is deleted, does anybody know how I can achieve this
>  
> Thanks
>  
> Graham
>  
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

Hi,

Did you try to use the destroyed signal from QObject ?

http://developer.qt.nokia.com/doc/qt-4.8/qobject.html#destroyed

Hope it helps
Samuel


More information about the Interest mailing list