18 #ifndef GZ_GUI_PLUGINS_ENTITY_CONTEXT_MENU_HH_
19 #define GZ_GUI_PLUGINS_ENTITY_CONTEXT_MENU_HH_
23 #include <gz/common/MouseEvent.hh>
25 #include <gz/gui/Plugin.hh>
27 #include <gz/rendering/Camera.hh>
33 class EntityContextMenuPrivate;
48 public:
void LoadConfig(
const tinyxml2::XMLElement *_pluginElem)
override;
51 protected:
bool eventFilter(QObject *_obj, QEvent *_event)
override;
69 const rendering::CameraPtr &_camera);
76 QString _entity,
int _mouseX,
int _mouseY);
99 signals:
void openContextMenu(QString _entity,
int _mouseX,
int _mouseY);
106 QString _entity,
int _mouseX,
int _mouseY);