Developer Documentation
|
Interface class for receiving mouse events. More...
#include <OpenFlipper/BasePlugin/MouseInterface.hh>
Public Member Functions | |
virtual | ~MouseInterface () |
Destructor. | |
Private Slots | |
virtual void | slotMouseWheelEvent (QWheelEvent *_event, const std::string &_mode) |
Wheel Event from main application. More... | |
Private Member Functions | |
virtual void | slotMouseEvent (QMouseEvent *_event) |
Mouse Event from main application ( Picking Mode ) More... | |
virtual void | slotMouseEventLight (QMouseEvent *_event) |
Mouse Event from main application ( Light Mode ) More... | |
Interface class for receiving mouse events.
Definition at line 61 of file MouseInterface.hh.
|
inlineprivatevirtual |
Mouse Event from main application ( Picking Mode )
This slot is called if a mouse event occurred in the Viewer This slot will only get called in pickingMode. Right button clicks will not be passed to the plugins as this is reserved for the context Menu.
_event | Mouse event |
Reimplemented in ComponentsPlugin, HoleFillerPlugin, and TypeQtWidgetPlugin.
Definition at line 85 of file MouseInterface.hh.
|
inlineprivatevirtual |
Mouse Event from main application ( Light Mode )
This slot is called if a mouse event occurred in the Viewer This slot will only get called in LightMode. Right button clicks will not be passed to the plugins as this is reserved for the context Menu.
_event | Mouse event |
Reimplemented in TypeLightPlugin.
Definition at line 96 of file MouseInterface.hh.
|
inlineprivatevirtualslot |
Wheel Event from main application.
This slot is called if a wheel event occurred in the Viewer and is extended by the current Mode set in the Viewer. You can add additional Picking Modes to the Viewer by using the picking interface. This slot will only get called in pickingMode.
_event | Mouse event |
_mode | Name of the current Picking Mode. |
Reimplemented in MeshObjectSelectionPlugin.
Definition at line 74 of file MouseInterface.hh.