From an earlier post
Thirdly, you need to join line between these 2 ellipse items. For this you can have a look at the diagram scene example in Qt Demos
Did you see that demo example ??