I am looking at the qtdemo/qtdemo application.
It has a file (hitspotdialog.cpp) which handles the image map (attached hereby)
When we click or right click an element of say any pie chart, then the hotsport dialog comes up.
I want to distinguish between a right click and a left click. How can I do that?
On left click I want to do some operation and on right click I want to show some menu.