Is it possible to have a mouse interaction with a curve?

eg. when i click on a curve some background information is shown in a qt textfield outside of the plot?

thanks and regards
myzinsky