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()
|
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: