In line number 53 if I write "event" then it is showing error, but If I write "event()" then it is working fine but no value displayed while mouse clicking.
Which version of Qt are you using? And do you have all the code for the entire function written correctly? You shouldn't use "event()" because "event" is a variable that is passed into the function. "event()" is a function call, they're not the same thing.
@@geospatialschool OK...thank you for your reply..Actually by mistake, in header file, in public, i declare the function name as "void clickedGraph(QMouseEvent *event());" So when I made it in private slot and changed it to "void clickedGraph(QMouseEvent *event);" it is working fine. THANK YOU FOR YOUR REPLY...