Qt: Get child controls events

In some cases you may have the need to get events before they reach your child controls. The most common example would be the need to get mouse events from a "root" control (for example a QFrame object) of all child controls inside. This way will allow the "root" control to detect if mouse buttons has been pressed/released or moved over all the control area independently if there are some child controls around.