All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::gui::ModelRightMenu Class Reference

Displays a menu when the right mouse button has been pressed. More...

#include <gui/gui.hh>

Inheritance diagram for gazebo::gui::ModelRightMenu:
Inheritance graph
[legend]
Collaboration diagram for gazebo::gui::ModelRightMenu:
Collaboration graph
[legend]

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...
 

Detailed Description

Displays a menu when the right mouse button has been pressed.

Constructor & Destructor Documentation

gazebo::gui::ModelRightMenu::ModelRightMenu ( )

Constructor.

virtual gazebo::gui::ModelRightMenu::~ModelRightMenu ( )
virtual

Destructor.

Member Function Documentation

bool gazebo::gui::ModelRightMenu::Init ( )

Initialize the right menu.

Todo:
In gazebo 3.0 move this function to the correct section.
Returns
True on success.
void gazebo::gui::ModelRightMenu::Run ( const std::string &  _modelName,
const QPoint &  _pt 
)

Show the right menu.

Parameters
[in]_modelNameName of the model that is active.
[in]_ptPoint on the GUI that has received the right-click request.

The documentation for this class was generated from the following file: