You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michal Staniaszek edited this page Feb 19, 2020
·
1 revision
Input events on the UI which do not interact with specific Qt components are handled by ddPythonEventFilter.h as the base object, but this only passes on events using the handleEvent(QObject*, QEvent*) signal.
This signal is caught by viewEventFilter.py, which is instantiated when robotsystem's initViewBehaviors function is called by the director startup to create the RobotViewBehaviors object which contains RobotViewEventFilter, a subclass of ViewEventFilter.
The filterEvent function of ViewEventFilter calls functions depending on the type of event that was received.