qt: connection drawing implemented