I have a custom widget that I have created that has a series of paint events. What I want to do is when the mouse is pressed collect the position and then when the mouse is released I want to collect the current position of the mouse. However, I need to pass the collected positions to a top layer widget that contains a series of structs that will do some calculations. I have the mouse press and release events all taken care of, but I now need to pass that information to the top lay widget. What I would really like to is collect it through a signal or event and not have to create a button.

Any ideas or suggestions would be great.

Thanks