How to identify click events on customised objects?
We are rendering an Opengl Object using QGLWidget and we are trying to add signals and slots to the Opengl customised widget.
How do we identity click event on our customised objects?
By click I meant mouse down and mouse up event.
Actually we are rendering a set of customised linear buttons using QGLWidget.
So how do we identify the mouse click in a particular area of our customised buttons?
on mouse click event you can get cursor position using
just an idea this might help you. if you know the position of your custom object;