Hello forum,
I have some elliptical graphics items which will be connected by arrow graphics item.
The user is supposed to draw the arrow item by clicking and moving from the elliptical item with the control modifier. Even if the user clicks over the
elliptical item i would want to the arrow source start from the border of the elliptical item. The same scenario should happen when the user release the
mouse button over the another destination elliptical item - the arrow destination lands on the border of the elliptical item.
I am trying to write a function to return the docking point for the elliptical item - either for the source or the destination item.
The outline of the function is:
Qt Code:
{ }To copy to clipboard, switch view to plain text mode
I need some hint to start ahead.
Thnak you.
Regards
Sajjad
Bookmarks