Unsolved Chart has 2 objects, a and b,how to call their own methods in mousepressEvent ?
-
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.