Need suggestion for shape geometry change event handling

Yue Liu yue.liu at mail.com
Thu Nov 17 15:20:10 GMT 2011


Hello,

I'm trying to implement connector auto-routing in Flow, it requires
connector routings being re-calculated everytime a shape's geometry
changed. So I'm wondering what should be the right way to do this. My
idea is add virtual method shapeGeometryChanged() in
KoShapeBasedDocumentBase and use it in those KoShapeXXXCommands, then
implement it in FlowDocument. But i'm not sure about this idea so i
want to get your opion about it.


Best Regards,
Yue Liu



More information about the calligra-devel mailing list