Ignition Gazebo

API Reference

6.6.0
ModelEditorAddEntity Class Reference

Event that notifies an entity is to be added to the model editor. More...

#include <GuiEvents.hh>

Public Member Functions

 ModelEditorAddEntity (QString _entity, QString _type, Entity _parent)
 Constructor. More...
 
QMap< QString, QString > & Data ()
 Get the data map. More...
 
QString Entity () const
 Get the entity to add. More...
 
QString EntityType () const
 Get the entity type. More...
 
Entity ParentEntity () const
 Get the parent entity to add the entity to. More...
 

Static Public Attributes

static const QEvent::Type kType = QEvent::Type(QEvent::User + 7)
 

Detailed Description

Event that notifies an entity is to be added to the model editor.

Constructor & Destructor Documentation

◆ ModelEditorAddEntity()

ModelEditorAddEntity ( QString  _entity,
QString  _type,
Entity  _parent 
)
explicit

Constructor.

Parameters
[in]_entityEntity added
[in]_typeEntity type
[in]_parentParent entity.

Member Function Documentation

◆ Data()

QMap<QString, QString>& Data ( )

Get the data map.

Returns
the QMap of string, string holding custom data.

◆ Entity()

QString Entity ( ) const

Get the entity to add.

◆ EntityType()

QString EntityType ( ) const

Get the entity type.

◆ ParentEntity()

Entity ParentEntity ( ) const

Get the parent entity to add the entity to.

Member Data Documentation

◆ kType

const QEvent::Type kType = QEvent::Type(QEvent::User + 7)
static

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