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. | |
QMap< QString, QString > & | Data () |
Get the data map. | |
QString | Entity () const |
Get the entity to add. | |
QString | EntityType () const |
Get the entity type. | |
Entity | ParentEntity () const |
Get the parent entity to add the entity to. | |
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()
|
explicit |
Constructor.
- Parameters
-
[in] _entity Entity added [in] _type Entity type [in] _parent Parent 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
|
static |
The documentation for this class was generated from the following file: