Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Chart has 2 objects, a and b，how to call their own methods in mousepressEvent ?
April Zhang last edited by
the mousepressEvent will be triggerd by both, and a also call the method of b, how do they call their own method
Not very clear about the question. Still let me try.
object a & b may have signals and slots. There may be connection between a and b. Hence when the mouspressevent happens, signal may be emitted and is received by another object.