This plugin is in charge of showing the entity context menu when the right button is clicked on a visual.
More...
#include <EntityContextMenuPlugin.hh>
|
bool | eventFilter (QObject *_obj, QEvent *_event) override |
|
This plugin is in charge of showing the entity context menu when the right button is clicked on a visual.
A context menu providing actions that can be invoked on an entity.
◆ EntityContextMenu() [1/2]
◆ ~EntityContextMenu() [1/2]
◆ EntityContextMenu() [2/2]
◆ ~EntityContextMenu() [2/2]
◆ eventFilter()
bool eventFilter |
( |
QObject * |
_obj, |
|
|
QEvent * |
_event |
|
) |
| |
|
overrideprotected |
◆ FollowingTarget()
Q_INVOKABLE bool FollowingTarget |
( |
| ) |
const |
Get whether it is following target.
- Returns
- True if followingTarget
◆ FollowingTargetChanged
void FollowingTargetChanged |
( |
| ) |
|
|
signal |
Notify that followingTarget has changed.
◆ LoadConfig()
void LoadConfig |
( |
const tinyxml2::XMLElement * |
_pluginElem | ) |
|
|
override |
◆ OnCurrentlyTrackedSub()
void OnCurrentlyTrackedSub |
( |
const msgs::CameraTrack & |
_msg | ) |
|
Callback function to get data from the message.
- Parameters
-
[in] | _msg | CameraTrack message |
◆ OnRemove()
Q_INVOKABLE void OnRemove |
( |
const QString & |
_data, |
|
|
const QString & |
_type |
|
) |
| |
Callback when a context menu item is invoked.
- Parameters
-
[in] | _data | Request data |
[in] | _type | Entity type |
◆ OnRequest()
Q_INVOKABLE void OnRequest |
( |
const QString & |
_request, |
|
|
const QString & |
_data |
|
) |
| |
Callback when a context menu item is invoked.
- Parameters
-
[in] | _request | Request type |
[in] | _data | Request data |
◆ SetFollowingTarget()
Q_INVOKABLE void SetFollowingTarget |
( |
bool & |
_followingTarget | ) |
|
Set whether followingTarget.
- Parameters
-
[in] | _followingTarget | True if followingTarget |
◆ followingTarget
The documentation for this class was generated from the following files: