Dynamic mouse events for PySide