Displays a menu when the right mouse button has been pressed. More...
#include <gui/gui.hh>


Public Member Functions | |
| ModelRightMenu () | |
| Constructor. More... | |
| virtual | ~ModelRightMenu () |
| Destructor. More... | |
| bool | Init () |
| Initialize the right menu. More... | |
| void | Run (const std::string &_modelName, const QPoint &_pt) |
| Show the right menu. More... | |
Displays a menu when the right mouse button has been pressed.
| gazebo::gui::ModelRightMenu::ModelRightMenu | ( | ) |
Constructor.
|
virtual |
Destructor.
| bool gazebo::gui::ModelRightMenu::Init | ( | ) |
Initialize the right menu.
| void gazebo::gui::ModelRightMenu::Run | ( | const std::string & | _modelName, |
| const QPoint & | _pt | ||
| ) |
Show the right menu.
| [in] | _modelName | Name of the model that is active. |
| [in] | _pt | Point on the GUI that has received the right-click request. |