A QQUickItem that manages the render window.
More...
#include <EntityContextMenuPlugin.hh>
|
void | openContextMenu (QString _entity, int _mouseX, int _mouseY) |
| Signal fired to open context menu Note that the function name needs to start with lowercase in order for the connection to work on the QML side. More...
|
|
A QQUickItem that manages the render window.
◆ EntityContextMenuItem()
◆ OnContextMenuRequested
void OnContextMenuRequested |
( |
QString |
_entity, |
|
|
int |
_mouseX, |
|
|
int |
_mouseY |
|
) |
| |
|
slot |
Qt callback when context menu request is received.
- Parameters
-
[in] | _entity | Scoped name of entity. |
[in] | _mouseX | X coordinate of the right click |
[in] | _mouseY | Y coordinate of the right click |
◆ openContextMenu
void openContextMenu |
( |
QString |
_entity, |
|
|
int |
_mouseX, |
|
|
int |
_mouseY |
|
) |
| |
|
signal |
Signal fired to open context menu Note that the function name needs to start with lowercase in order for the connection to work on the QML side.
- Parameters
-
[in] | _entity | Scoped name of entity. |
[in] | _mouseX | X coordinate of the right click |
[in] | _mouseY | Y coordinate of the right click |
◆ SetEntityContextMenuHandler()
Set the entity context menu handler.
- Parameters
-
[in] | _entityContextMenuHandler | Entity context menu handler |
The documentation for this class was generated from the following file: