QCustomPlot Discussion and Comments

Hello can any one tell me how to use mouse events i am able to print using...... bool RealTime::eventFilter(QObject *target, QEvent *event)
when i press on graph
QMouseEvent(MouseButtonPress, 1, 1, 0)
convert this to valid position how i can do this

i saw prevous thread i am not underastanding it ...... http://www.qcustomplot.com/index.php/support/forum/93

Since this is purely a Qt issue and not related to QCustomPlot, please read tutorials about C++/Qt to learn how to use the Qt classes.

Every QMouseEvent instance has a pos() member of type QPoint holding the pixel position relative to the parent widget where the event happened.

I will delete this thread soon, to keep the forum free of off-topic questions.