DeleteAction Class Reference

Custom delete action. More...

#include <gui/gui.hh>

Inherits QAction.

Signals

void DeleteSignal (const std::string &_modelName)
 The custom signal which a SLOT can connect to. More...
 

Public Member Functions

 DeleteAction (const QString &_text, QObject *_parent)
 Constructor. More...
 
void Signal (const std::string &_modelName)
 Emit the delete signal. More...
 

Detailed Description

Custom delete action.

Constructor & Destructor Documentation

◆ DeleteAction()

DeleteAction ( const QString &  _text,
QObject *  _parent 
)
inline

Constructor.

Parameters
[in]_textName of the action.
[in]_parentAction parent object.

Member Function Documentation

◆ DeleteSignal

void DeleteSignal ( const std::string &  _modelName)
signal

The custom signal which a SLOT can connect to.

Parameters
[in]_modelNameThe name of the model to delete.

Referenced by DeleteAction::Signal().

◆ Signal()

void Signal ( const std::string &  _modelName)
inline

Emit the delete signal.

This triggers the action.

Parameters
[in]_modelNameName of the model to delete.

References DeleteAction::DeleteSignal(), and gazebo::gui::g_deleteAct.


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