The event filter we use looks at the Polish events. Depending on the class of the widget involved, we create and attach the appropriate recorder object (e.g. push button recorder, slider recorder etc.). The widget signals that we are interested in are attached to corresponding slots in the recorder object. The signal / slot mechanishm then does the logging for this widget.

The event filter does no filtering; it just does this extra processing for the Polish events.