EntityContextMenuHandler Class Reference
#include <EntityContextMenuPlugin.hh>
Signals | |
void | ContextMenuRequested (QString _entity, int _mouseX, int _mouseY) |
Signal fired when context menu event is triggered. More... | |
Public Member Functions | |
EntityContextMenuHandler () | |
Constructor. More... | |
void | HandleMouseContextMenu (const common::MouseEvent &_mouseEvent, const rendering::CameraPtr &_camera) |
Handle mouse event for context menu. More... | |
Constructor & Destructor Documentation
◆ EntityContextMenuHandler()
Constructor.
Member Function Documentation
◆ ContextMenuRequested
|
signal |
Signal fired when context menu event is triggered.
- Parameters
-
[in] _entity Scoped name of entity. [in] _mouseX X coordinate of the right click [in] _mouseY Y coordinate of the right click
◆ HandleMouseContextMenu()
void HandleMouseContextMenu | ( | const common::MouseEvent & | _mouseEvent, |
const rendering::CameraPtr & | _camera | ||
) |
Handle mouse event for context menu.
- Parameters
-
[in] _mouseEvent Right click mouse event [in] _camera User camera
The documentation for this class was generated from the following file: