event processing for Qt Example